Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:06:02.262365 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025 port_id : 22346305 datou_current_id : 2750542 in upload_from_sqlite, uploading in 22346305 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/14042025/20/20/image_14042025_20_20_53_5774.jpg', 2), ('/home/nano/Desktop/images/14042025/20/20/image_14042025_20_20_47_5891.jpg', 2), ('/home/nano/Desktop/images/14042025/20/20/image_14042025_20_20_35_5758.jpg', 2), ('/home/nano/Desktop/images/14042025/20/20/image_14042025_20_20_30_6747.jpg', 2), ('/home/nano/Desktop/images/14042025/20/20/image_14042025_20_20_23_6058.jpg', 2), ('/home/nano/Desktop/images/14042025/20/20/image_14042025_20_20_11_5887.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/14042025/20/20/image_14042025_20_20_53_5774.jpg', '/home/nano/Desktop/images/14042025/20/20/image_14042025_20_20_47_5891.jpg', '/home/nano/Desktop/images/14042025/20/20/image_14042025_20_20_35_5758.jpg', '/home/nano/Desktop/images/14042025/20/20/image_14042025_20_20_30_6747.jpg', '/home/nano/Desktop/images/14042025/20/20/image_14042025_20_20_23_6058.jpg', '/home/nano/Desktop/images/14042025/20/20/image_14042025_20_20_11_5887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750542&datou=0 /home/nano/Desktop/images/14042025/20/20/image_14042025_20_20_53_5774.jpg /home/nano/Desktop/images/14042025/20/20/image_14042025_20_20_47_5891.jpg /home/nano/Desktop/images/14042025/20/20/image_14042025_20_20_35_5758.jpg /home/nano/Desktop/images/14042025/20/20/image_14042025_20_20_30_6747.jpg /home/nano/Desktop/images/14042025/20/20/image_14042025_20_20_23_6058.jpg /home/nano/Desktop/images/14042025/20/20/image_14042025_20_20_11_5887.jpg val : 1 : upload photos 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: 63.95793318748474 secondes --- ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:07:22.092260 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025 port_id : 22346305 datou_current_id : 2750542 in upload_from_sqlite, uploading in 22346305 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_47_5795.jpg', 2), ('/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_41_6020.jpg', 2), ('/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_35_6089.jpg', 2), ('/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_29_5770.jpg', 2), ('/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_23_5786.jpg', 2), ('/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_18_6064.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_47_5795.jpg', '/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_41_6020.jpg', '/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_35_6089.jpg', '/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_29_5770.jpg', '/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_23_5786.jpg', '/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_18_6064.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750542&datou=0 /home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_47_5795.jpg /home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_41_6020.jpg /home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_35_6089.jpg /home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_29_5770.jpg /home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_23_5786.jpg /home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_18_6064.jpg val : 1 : upload photos 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: 63.541178703308105 secondes --- ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:08:42.236583 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31032025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025 port_id : 22346305 datou_current_id : 2750542 in upload_from_sqlite, uploading in 22346305 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250326 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250327 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250328 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250329 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250330 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250331 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250401 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250402 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_47_5795.jpg', 2), ('/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_41_6020.jpg', 2), ('/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_35_6089.jpg', 2), ('/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_29_5770.jpg', 2), ('/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_23_5786.jpg', 2), ('/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_18_6064.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_47_5795.jpg', '/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_41_6020.jpg', '/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_35_6089.jpg', '/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_29_5770.jpg', '/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_23_5786.jpg', '/home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_18_6064.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2750542&datou=0 /home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_47_5795.jpg /home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_41_6020.jpg /home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_35_6089.jpg /home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_29_5770.jpg /home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_23_5786.jpg /home/nano/Desktop/images/14042025/20/21/image_14042025_20_21_18_6064.jpg val : 1 : upload photos 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: 63.647974729537964 secondes --- ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:10:02.992771 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/09/image_15042025_00_09_47_5897.jpg', 2), ('/home/nano/Desktop/images/15042025/00/09/image_15042025_00_09_41_5823.jpg', 2), ('/home/nano/Desktop/images/15042025/00/09/image_15042025_00_09_35_5917.jpg', 2), ('/home/nano/Desktop/images/15042025/00/09/image_15042025_00_09_29_5924.jpg', 2), ('/home/nano/Desktop/images/15042025/00/09/image_15042025_00_09_23_6078.jpg', 2), ('/home/nano/Desktop/images/15042025/00/09/image_15042025_00_09_11_6367.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:11:22.570315 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_52_5657.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_47_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_41_6631.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_35_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_29_5778.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_17_6731.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:12:42.672074 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_59_6628.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_52_5657.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_47_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_41_6631.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_35_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_29_5778.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:14:02.903547 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/13/image_15042025_00_13_59_5929.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_59_6628.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_52_5657.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_47_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_41_6631.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_35_5635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:15:22.076176 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/13/image_15042025_00_13_59_5929.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_59_6628.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_52_5657.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_47_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_41_6631.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_35_5635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:16:42.231324 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/13/image_15042025_00_13_59_5929.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_59_6628.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_52_5657.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_47_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_41_6631.jpg', 2), ('/home/nano/Desktop/images/15042025/00/11/image_15042025_00_11_35_5635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:18:03.075186 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/18/image_15042025_00_18_59_5606.jpg', 2), ('/home/nano/Desktop/images/15042025/00/17/image_15042025_00_17_53_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/00/17/image_15042025_00_17_47_5631.jpg', 2), ('/home/nano/Desktop/images/15042025/00/17/image_15042025_00_17_41_6642.jpg', 2), ('/home/nano/Desktop/images/15042025/00/17/image_15042025_00_17_35_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/00/17/image_15042025_00_17_29_5689.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:19:22.565387 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/19/image_15042025_00_19_53_5801.jpg', 2), ('/home/nano/Desktop/images/15042025/00/19/image_15042025_00_19_47_5773.jpg', 2), ('/home/nano/Desktop/images/15042025/00/19/image_15042025_00_19_41_5666.jpg', 2), ('/home/nano/Desktop/images/15042025/00/19/image_15042025_00_19_35_6650.jpg', 2), ('/home/nano/Desktop/images/15042025/00/19/image_15042025_00_19_23_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/00/19/image_15042025_00_19_17_6644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:20:42.789581 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/20/image_15042025_00_20_53_6771.jpg', 2), ('/home/nano/Desktop/images/15042025/00/20/image_15042025_00_20_47_5854.jpg', 2), ('/home/nano/Desktop/images/15042025/00/20/image_15042025_00_20_41_6137.jpg', 2), ('/home/nano/Desktop/images/15042025/00/20/image_15042025_00_20_29_5906.jpg', 2), ('/home/nano/Desktop/images/15042025/00/20/image_15042025_00_20_23_5712.jpg', 2), ('/home/nano/Desktop/images/15042025/00/20/image_15042025_00_20_17_5761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:22:02.636783 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/21/image_15042025_00_21_47_5805.jpg', 2), ('/home/nano/Desktop/images/15042025/00/21/image_15042025_00_21_41_6860.jpg', 2), ('/home/nano/Desktop/images/15042025/00/21/image_15042025_00_21_34_5795.jpg', 2), ('/home/nano/Desktop/images/15042025/00/21/image_15042025_00_21_29_6054.jpg', 2), ('/home/nano/Desktop/images/15042025/00/21/image_15042025_00_21_17_5825.jpg', 2), ('/home/nano/Desktop/images/15042025/00/21/image_15042025_00_21_11_5764.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:23:22.129915 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/23/image_15042025_00_23_59_5993.jpg', 2), ('/home/nano/Desktop/images/15042025/00/23/image_15042025_00_23_41_6667.jpg', 2), ('/home/nano/Desktop/images/15042025/00/23/image_15042025_00_23_35_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/00/23/image_15042025_00_23_29_5616.jpg', 2), ('/home/nano/Desktop/images/15042025/00/23/image_15042025_00_23_23_6638.jpg', 2), ('/home/nano/Desktop/images/15042025/00/23/image_15042025_00_23_11_5640.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:24:42.263088 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/24/image_15042025_00_24_53_5964.jpg', 2), ('/home/nano/Desktop/images/15042025/00/23/image_15042025_00_23_59_5993.jpg', 2), ('/home/nano/Desktop/images/15042025/00/23/image_15042025_00_23_47_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/00/23/image_15042025_00_23_41_6667.jpg', 2), ('/home/nano/Desktop/images/15042025/00/23/image_15042025_00_23_35_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/00/23/image_15042025_00_23_29_5616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:26:03.069842 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/25/image_15042025_00_25_53_5758.jpg', 2), ('/home/nano/Desktop/images/15042025/00/25/image_15042025_00_25_47_6719.jpg', 2), ('/home/nano/Desktop/images/15042025/00/25/image_15042025_00_25_40_5731.jpg', 2), ('/home/nano/Desktop/images/15042025/00/25/image_15042025_00_25_35_5820.jpg', 2), ('/home/nano/Desktop/images/15042025/00/25/image_15042025_00_25_29_5720.jpg', 2), ('/home/nano/Desktop/images/15042025/00/25/image_15042025_00_25_23_5793.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:27:22.598242 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/27/image_15042025_00_27_53_5870.jpg', 2), ('/home/nano/Desktop/images/15042025/00/27/image_15042025_00_27_41_5788.jpg', 2), ('/home/nano/Desktop/images/15042025/00/27/image_15042025_00_27_35_6808.jpg', 2), ('/home/nano/Desktop/images/15042025/00/27/image_15042025_00_27_29_5709.jpg', 2), ('/home/nano/Desktop/images/15042025/00/27/image_15042025_00_27_23_5762.jpg', 2), ('/home/nano/Desktop/images/15042025/00/27/image_15042025_00_27_17_5890.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:28:42.705430 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/28/image_15042025_00_28_59_5780.jpg', 2), ('/home/nano/Desktop/images/15042025/00/28/image_15042025_00_28_47_6140.jpg', 2), ('/home/nano/Desktop/images/15042025/00/28/image_15042025_00_28_41_6735.jpg', 2), ('/home/nano/Desktop/images/15042025/00/28/image_15042025_00_28_34_5678.jpg', 2), ('/home/nano/Desktop/images/15042025/00/28/image_15042025_00_28_29_5751.jpg', 2), ('/home/nano/Desktop/images/15042025/00/28/image_15042025_00_28_23_5788.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:30:02.517492 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/29/image_15042025_00_29_53_5841.jpg', 2), ('/home/nano/Desktop/images/15042025/00/29/image_15042025_00_29_47_5940.jpg', 2), ('/home/nano/Desktop/images/15042025/00/29/image_15042025_00_29_35_5732.jpg', 2), ('/home/nano/Desktop/images/15042025/00/29/image_15042025_00_29_29_6782.jpg', 2), ('/home/nano/Desktop/images/15042025/00/29/image_15042025_00_29_22_5916.jpg', 2), ('/home/nano/Desktop/images/15042025/00/29/image_15042025_00_29_10_5788.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:31:22.033753 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/31/image_15042025_00_31_53_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/00/31/image_15042025_00_31_47_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/00/31/image_15042025_00_31_41_5785.jpg', 2), ('/home/nano/Desktop/images/15042025/00/31/image_15042025_00_31_29_5697.jpg', 2), ('/home/nano/Desktop/images/15042025/00/31/image_15042025_00_31_23_6729.jpg', 2), ('/home/nano/Desktop/images/15042025/00/31/image_15042025_00_31_17_5947.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:32:42.177486 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/32/image_15042025_00_32_53_6622.jpg', 2), ('/home/nano/Desktop/images/15042025/00/32/image_15042025_00_32_47_5599.jpg', 2), ('/home/nano/Desktop/images/15042025/00/32/image_15042025_00_32_41_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/00/32/image_15042025_00_32_29_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/00/32/image_15042025_00_32_23_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/00/32/image_15042025_00_32_17_5673.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:34:02.944418 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/33/image_15042025_00_33_59_5769.jpg', 2), ('/home/nano/Desktop/images/15042025/00/33/image_15042025_00_33_47_6713.jpg', 2), ('/home/nano/Desktop/images/15042025/00/33/image_15042025_00_33_41_5721.jpg', 2), ('/home/nano/Desktop/images/15042025/00/33/image_15042025_00_33_35_5726.jpg', 2), ('/home/nano/Desktop/images/15042025/00/33/image_15042025_00_33_29_6614.jpg', 2), ('/home/nano/Desktop/images/15042025/00/33/image_15042025_00_33_23_5667.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:35:22.541127 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/35/image_15042025_00_35_53_5854.jpg', 2), ('/home/nano/Desktop/images/15042025/00/35/image_15042025_00_35_47_6815.jpg', 2), ('/home/nano/Desktop/images/15042025/00/35/image_15042025_00_35_40_5765.jpg', 2), ('/home/nano/Desktop/images/15042025/00/35/image_15042025_00_35_35_5792.jpg', 2), ('/home/nano/Desktop/images/15042025/00/35/image_15042025_00_35_29_5809.jpg', 2), ('/home/nano/Desktop/images/15042025/00/35/image_15042025_00_35_23_5867.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:36:42.650203 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/36/image_15042025_00_36_53_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/00/36/image_15042025_00_36_47_6644.jpg', 2), ('/home/nano/Desktop/images/15042025/00/36/image_15042025_00_36_40_5625.jpg', 2), ('/home/nano/Desktop/images/15042025/00/36/image_15042025_00_36_35_5619.jpg', 2), ('/home/nano/Desktop/images/15042025/00/36/image_15042025_00_36_29_6645.jpg', 2), ('/home/nano/Desktop/images/15042025/00/36/image_15042025_00_36_23_5646.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:38:02.556097 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/38/image_15042025_00_38_59_5809.jpg', 2), ('/home/nano/Desktop/images/15042025/00/37/image_15042025_00_37_53_5703.jpg', 2), ('/home/nano/Desktop/images/15042025/00/37/image_15042025_00_37_47_6640.jpg', 2), ('/home/nano/Desktop/images/15042025/00/37/image_15042025_00_37_41_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/00/37/image_15042025_00_37_35_6642.jpg', 2), ('/home/nano/Desktop/images/15042025/00/37/image_15042025_00_37_28_5589.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:39:22.025317 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/39/image_15042025_00_39_53_6137.jpg', 2), ('/home/nano/Desktop/images/15042025/00/39/image_15042025_00_39_46_5833.jpg', 2), ('/home/nano/Desktop/images/15042025/00/39/image_15042025_00_39_41_6046.jpg', 2), ('/home/nano/Desktop/images/15042025/00/39/image_15042025_00_39_29_5776.jpg', 2), ('/home/nano/Desktop/images/15042025/00/39/image_15042025_00_39_23_6017.jpg', 2), ('/home/nano/Desktop/images/15042025/00/39/image_15042025_00_39_17_5877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:40:42.156799 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/40/image_15042025_00_40_53_6646.jpg', 2), ('/home/nano/Desktop/images/15042025/00/40/image_15042025_00_40_47_5605.jpg', 2), ('/home/nano/Desktop/images/15042025/00/40/image_15042025_00_40_41_5631.jpg', 2), ('/home/nano/Desktop/images/15042025/00/40/image_15042025_00_40_35_6650.jpg', 2), ('/home/nano/Desktop/images/15042025/00/40/image_15042025_00_40_29_5600.jpg', 2), ('/home/nano/Desktop/images/15042025/00/40/image_15042025_00_40_23_6628.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:42:03.009425 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/41/image_15042025_00_41_53_5682.jpg', 2), ('/home/nano/Desktop/images/15042025/00/41/image_15042025_00_41_47_6684.jpg', 2), ('/home/nano/Desktop/images/15042025/00/41/image_15042025_00_41_41_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/00/41/image_15042025_00_41_35_5853.jpg', 2), ('/home/nano/Desktop/images/15042025/00/41/image_15042025_00_41_22_5616.jpg', 2), ('/home/nano/Desktop/images/15042025/00/41/image_15042025_00_41_11_6639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:43:22.586776 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/43/image_15042025_00_43_59_5910.jpg', 2), ('/home/nano/Desktop/images/15042025/00/43/image_15042025_00_43_41_5812.jpg', 2), ('/home/nano/Desktop/images/15042025/00/43/image_15042025_00_43_35_5920.jpg', 2), ('/home/nano/Desktop/images/15042025/00/43/image_15042025_00_43_29_5843.jpg', 2), ('/home/nano/Desktop/images/15042025/00/43/image_15042025_00_43_23_5837.jpg', 2), ('/home/nano/Desktop/images/15042025/00/43/image_15042025_00_43_17_5852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:44:42.675767 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/44/image_15042025_00_44_53_5792.jpg', 2), ('/home/nano/Desktop/images/15042025/00/44/image_15042025_00_44_47_6753.jpg', 2), ('/home/nano/Desktop/images/15042025/00/44/image_15042025_00_44_41_5861.jpg', 2), ('/home/nano/Desktop/images/15042025/00/44/image_15042025_00_44_35_6135.jpg', 2), ('/home/nano/Desktop/images/15042025/00/44/image_15042025_00_44_22_5903.jpg', 2), ('/home/nano/Desktop/images/15042025/00/44/image_15042025_00_44_17_5884.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:46:02.461892 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/45/image_15042025_00_45_47_6636.jpg', 2), ('/home/nano/Desktop/images/15042025/00/45/image_15042025_00_45_41_5624.jpg', 2), ('/home/nano/Desktop/images/15042025/00/45/image_15042025_00_45_35_6645.jpg', 2), ('/home/nano/Desktop/images/15042025/00/45/image_15042025_00_45_28_5620.jpg', 2), ('/home/nano/Desktop/images/15042025/00/45/image_15042025_00_45_23_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/00/45/image_15042025_00_45_17_6765.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:47:22.106433 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/47/image_15042025_00_47_53_5792.jpg', 2), ('/home/nano/Desktop/images/15042025/00/47/image_15042025_00_47_47_5830.jpg', 2), ('/home/nano/Desktop/images/15042025/00/47/image_15042025_00_47_41_6775.jpg', 2), ('/home/nano/Desktop/images/15042025/00/47/image_15042025_00_47_35_5824.jpg', 2), ('/home/nano/Desktop/images/15042025/00/47/image_15042025_00_47_29_5724.jpg', 2), ('/home/nano/Desktop/images/15042025/00/47/image_15042025_00_47_23_5621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:48:42.195790 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/48/image_15042025_00_48_59_6957.jpg', 2), ('/home/nano/Desktop/images/15042025/00/48/image_15042025_00_48_41_5831.jpg', 2), ('/home/nano/Desktop/images/15042025/00/48/image_15042025_00_48_35_5819.jpg', 2), ('/home/nano/Desktop/images/15042025/00/48/image_15042025_00_48_29_5762.jpg', 2), ('/home/nano/Desktop/images/15042025/00/48/image_15042025_00_48_23_5792.jpg', 2), ('/home/nano/Desktop/images/15042025/00/48/image_15042025_00_48_17_6772.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:50:03.077399 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/49/image_15042025_00_49_52_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/00/49/image_15042025_00_49_47_5741.jpg', 2), ('/home/nano/Desktop/images/15042025/00/49/image_15042025_00_49_41_5788.jpg', 2), ('/home/nano/Desktop/images/15042025/00/49/image_15042025_00_49_35_5952.jpg', 2), ('/home/nano/Desktop/images/15042025/00/49/image_15042025_00_49_23_6651.jpg', 2), ('/home/nano/Desktop/images/15042025/00/49/image_15042025_00_49_17_5697.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:51:22.571768 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/50/image_15042025_00_50_28_5623.jpg', 2), ('/home/nano/Desktop/images/15042025/00/50/image_15042025_00_50_23_5612.jpg', 2), ('/home/nano/Desktop/images/15042025/00/50/image_15042025_00_50_17_6605.jpg', 2), ('/home/nano/Desktop/images/15042025/00/50/image_15042025_00_50_11_5678.jpg', 2), ('/home/nano/Desktop/images/15042025/00/50/image_15042025_00_50_05_5833.jpg', 2), ('/home/nano/Desktop/images/15042025/00/49/image_15042025_00_49_59_6655.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:52:42.671458 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/52/image_15042025_00_52_53_5603.jpg', 2), ('/home/nano/Desktop/images/15042025/00/52/image_15042025_00_52_47_6621.jpg', 2), ('/home/nano/Desktop/images/15042025/00/52/image_15042025_00_52_41_5666.jpg', 2), ('/home/nano/Desktop/images/15042025/00/52/image_15042025_00_52_35_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/00/52/image_15042025_00_52_29_6657.jpg', 2), ('/home/nano/Desktop/images/15042025/00/52/image_15042025_00_52_23_5794.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:54:02.726684 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/53/image_15042025_00_53_59_5616.jpg', 2), ('/home/nano/Desktop/images/15042025/00/53/image_15042025_00_53_47_5645.jpg', 2), ('/home/nano/Desktop/images/15042025/00/53/image_15042025_00_53_41_6635.jpg', 2), ('/home/nano/Desktop/images/15042025/00/53/image_15042025_00_53_34_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/00/53/image_15042025_00_53_29_5658.jpg', 2), ('/home/nano/Desktop/images/15042025/00/53/image_15042025_00_53_23_6638.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:55:22.129694 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/55/image_15042025_00_55_53_5762.jpg', 2), ('/home/nano/Desktop/images/15042025/00/55/image_15042025_00_55_47_5891.jpg', 2), ('/home/nano/Desktop/images/15042025/00/55/image_15042025_00_55_29_5838.jpg', 2), ('/home/nano/Desktop/images/15042025/00/55/image_15042025_00_55_23_5784.jpg', 2), ('/home/nano/Desktop/images/15042025/00/55/image_15042025_00_55_17_6848.jpg', 2), ('/home/nano/Desktop/images/15042025/00/55/image_15042025_00_55_10_5866.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:56:42.155333 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/56/image_15042025_00_56_53_5769.jpg', 2), ('/home/nano/Desktop/images/15042025/00/56/image_15042025_00_56_47_6914.jpg', 2), ('/home/nano/Desktop/images/15042025/00/56/image_15042025_00_56_40_5803.jpg', 2), ('/home/nano/Desktop/images/15042025/00/56/image_15042025_00_56_35_5916.jpg', 2), ('/home/nano/Desktop/images/15042025/00/56/image_15042025_00_56_29_6004.jpg', 2), ('/home/nano/Desktop/images/15042025/00/56/image_15042025_00_56_17_5842.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:58:02.667826 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/57/image_15042025_00_57_53_5829.jpg', 2), ('/home/nano/Desktop/images/15042025/00/57/image_15042025_00_57_47_6126.jpg', 2), ('/home/nano/Desktop/images/15042025/00/57/image_15042025_00_57_35_5760.jpg', 2), ('/home/nano/Desktop/images/15042025/00/57/image_15042025_00_57_29_5806.jpg', 2), ('/home/nano/Desktop/images/15042025/00/57/image_15042025_00_57_23_6740.jpg', 2), ('/home/nano/Desktop/images/15042025/00/57/image_15042025_00_57_17_5782.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 00:59:22.491681 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/00/59/image_15042025_00_59_29_6623.jpg', 2), ('/home/nano/Desktop/images/15042025/00/59/image_15042025_00_59_17_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/00/59/image_15042025_00_59_11_6635.jpg', 2), ('/home/nano/Desktop/images/15042025/00/59/image_15042025_00_59_05_5617.jpg', 2), ('/home/nano/Desktop/images/15042025/00/58/image_15042025_00_58_59_6653.jpg', 2), ('/home/nano/Desktop/images/15042025/00/58/image_15042025_00_58_53_5653.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:00:42.698784 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/00/image_15042025_01_00_53_6841.jpg', 2), ('/home/nano/Desktop/images/15042025/01/00/image_15042025_01_00_46_5798.jpg', 2), ('/home/nano/Desktop/images/15042025/01/00/image_15042025_01_00_41_5775.jpg', 2), ('/home/nano/Desktop/images/15042025/01/00/image_15042025_01_00_35_5859.jpg', 2), ('/home/nano/Desktop/images/15042025/01/00/image_15042025_01_00_29_5799.jpg', 2), ('/home/nano/Desktop/images/15042025/01/00/image_15042025_01_00_23_6728.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:02:02.504835 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/01/image_15042025_01_01_53_5072.jpg', 2), ('/home/nano/Desktop/images/15042025/01/01/image_15042025_01_01_41_6812.jpg', 2), ('/home/nano/Desktop/images/15042025/01/01/image_15042025_01_01_35_5788.jpg', 2), ('/home/nano/Desktop/images/15042025/01/01/image_15042025_01_01_29_5836.jpg', 2), ('/home/nano/Desktop/images/15042025/01/01/image_15042025_01_01_23_5789.jpg', 2), ('/home/nano/Desktop/images/15042025/01/01/image_15042025_01_01_17_5935.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:03:22.114595 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/03/image_15042025_01_03_59_6144.jpg', 2), ('/home/nano/Desktop/images/15042025/01/03/image_15042025_01_03_35_5617.jpg', 2), ('/home/nano/Desktop/images/15042025/01/03/image_15042025_01_03_29_6673.jpg', 2), ('/home/nano/Desktop/images/15042025/01/03/image_15042025_01_03_22_5630.jpg', 2), ('/home/nano/Desktop/images/15042025/01/03/image_15042025_01_03_17_5644.jpg', 2), ('/home/nano/Desktop/images/15042025/01/03/image_15042025_01_03_11_6655.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:04:42.377793 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/04/image_15042025_01_04_47_6648.jpg', 2), ('/home/nano/Desktop/images/15042025/01/04/image_15042025_01_04_41_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/01/04/image_15042025_01_04_35_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/01/04/image_15042025_01_04_29_6613.jpg', 2), ('/home/nano/Desktop/images/15042025/01/04/image_15042025_01_04_23_5650.jpg', 2), ('/home/nano/Desktop/images/15042025/01/04/image_15042025_01_04_17_5769.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:06:03.302049 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/05/image_15042025_01_05_53_6650.jpg', 2), ('/home/nano/Desktop/images/15042025/01/05/image_15042025_01_05_47_5616.jpg', 2), ('/home/nano/Desktop/images/15042025/01/05/image_15042025_01_05_41_5607.jpg', 2), ('/home/nano/Desktop/images/15042025/01/05/image_15042025_01_05_35_6625.jpg', 2), ('/home/nano/Desktop/images/15042025/01/05/image_15042025_01_05_23_5630.jpg', 2), ('/home/nano/Desktop/images/15042025/01/05/image_15042025_01_05_17_6646.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:07:22.754975 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/07/image_15042025_01_07_53_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/01/07/image_15042025_01_07_47_5617.jpg', 2), ('/home/nano/Desktop/images/15042025/01/07/image_15042025_01_07_41_6644.jpg', 2), ('/home/nano/Desktop/images/15042025/01/07/image_15042025_01_07_35_5650.jpg', 2), ('/home/nano/Desktop/images/15042025/01/07/image_15042025_01_07_29_5717.jpg', 2), ('/home/nano/Desktop/images/15042025/01/07/image_15042025_01_07_23_6902.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:08:41.901789 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/08/image_15042025_01_08_59_5628.jpg', 2), ('/home/nano/Desktop/images/15042025/01/08/image_15042025_01_08_47_5835.jpg', 2), ('/home/nano/Desktop/images/15042025/01/08/image_15042025_01_08_41_6832.jpg', 2), ('/home/nano/Desktop/images/15042025/01/08/image_15042025_01_08_35_5627.jpg', 2), ('/home/nano/Desktop/images/15042025/01/08/image_15042025_01_08_29_5616.jpg', 2), ('/home/nano/Desktop/images/15042025/01/08/image_15042025_01_08_23_6645.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:10:02.489091 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/09/image_15042025_01_09_53_5770.jpg', 2), ('/home/nano/Desktop/images/15042025/01/09/image_15042025_01_09_47_6641.jpg', 2), ('/home/nano/Desktop/images/15042025/01/09/image_15042025_01_09_41_5655.jpg', 2), ('/home/nano/Desktop/images/15042025/01/09/image_15042025_01_09_35_5660.jpg', 2), ('/home/nano/Desktop/images/15042025/01/09/image_15042025_01_09_29_5860.jpg', 2), ('/home/nano/Desktop/images/15042025/01/09/image_15042025_01_09_23_6907.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:11:22.257073 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/11/image_15042025_01_11_53_6631.jpg', 2), ('/home/nano/Desktop/images/15042025/01/11/image_15042025_01_11_47_5687.jpg', 2), ('/home/nano/Desktop/images/15042025/01/11/image_15042025_01_11_41_5624.jpg', 2), ('/home/nano/Desktop/images/15042025/01/11/image_15042025_01_11_35_6667.jpg', 2), ('/home/nano/Desktop/images/15042025/01/11/image_15042025_01_11_29_5818.jpg', 2), ('/home/nano/Desktop/images/15042025/01/11/image_15042025_01_11_23_5877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:12:42.405318 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/12/image_15042025_01_12_53_5867.jpg', 2), ('/home/nano/Desktop/images/15042025/01/12/image_15042025_01_12_47_5860.jpg', 2), ('/home/nano/Desktop/images/15042025/01/12/image_15042025_01_12_41_6682.jpg', 2), ('/home/nano/Desktop/images/15042025/01/12/image_15042025_01_12_35_5674.jpg', 2), ('/home/nano/Desktop/images/15042025/01/12/image_15042025_01_12_29_5667.jpg', 2), ('/home/nano/Desktop/images/15042025/01/12/image_15042025_01_12_23_6663.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:14:03.411747 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/13/image_15042025_01_13_58_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/01/13/image_15042025_01_13_47_6659.jpg', 2), ('/home/nano/Desktop/images/15042025/01/13/image_15042025_01_13_40_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/01/13/image_15042025_01_13_35_5829.jpg', 2), ('/home/nano/Desktop/images/15042025/01/13/image_15042025_01_13_29_5904.jpg', 2), ('/home/nano/Desktop/images/15042025/01/13/image_15042025_01_13_23_6632.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:15:21.767534 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/15/image_15042025_01_15_53_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/01/15/image_15042025_01_15_47_5653.jpg', 2), ('/home/nano/Desktop/images/15042025/01/15/image_15042025_01_15_41_6657.jpg', 2), ('/home/nano/Desktop/images/15042025/01/15/image_15042025_01_15_35_5630.jpg', 2), ('/home/nano/Desktop/images/15042025/01/15/image_15042025_01_15_23_6681.jpg', 2), ('/home/nano/Desktop/images/15042025/01/15/image_15042025_01_15_17_5633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:16:41.948161 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/16/image_15042025_01_16_53_6648.jpg', 2), ('/home/nano/Desktop/images/15042025/01/16/image_15042025_01_16_47_5659.jpg', 2), ('/home/nano/Desktop/images/15042025/01/16/image_15042025_01_16_41_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/01/16/image_15042025_01_16_35_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/01/16/image_15042025_01_16_29_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/01/16/image_15042025_01_16_23_5624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:18:02.822447 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_59_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/01/17/image_15042025_01_17_53_5627.jpg', 2), ('/home/nano/Desktop/images/15042025/01/17/image_15042025_01_17_47_5653.jpg', 2), ('/home/nano/Desktop/images/15042025/01/17/image_15042025_01_17_41_6636.jpg', 2), ('/home/nano/Desktop/images/15042025/01/17/image_15042025_01_17_35_5631.jpg', 2), ('/home/nano/Desktop/images/15042025/01/17/image_15042025_01_17_29_5678.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:19:22.338282 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_17_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_11_6735.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_04_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_59_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_53_6676.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_46_5641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:20:42.431626 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_17_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_11_6735.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_04_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_59_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_53_6676.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_46_5641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:22:03.359701 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_17_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_11_6735.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_04_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_59_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_53_6676.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_46_5641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:23:21.809392 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/23/image_15042025_01_23_59_6226.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_17_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_11_6735.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_04_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_59_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_53_6676.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:24:41.958852 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/23/image_15042025_01_23_59_6226.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_17_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_11_6735.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_04_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_59_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_53_6676.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:26:02.667017 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/23/image_15042025_01_23_59_6226.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_17_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_11_6735.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_04_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_59_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_53_6676.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:27:22.309322 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/23/image_15042025_01_23_59_6226.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_17_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_11_6735.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_04_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_59_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_53_6676.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:28:42.470893 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/28/image_15042025_01_28_59_6229.jpg', 2), ('/home/nano/Desktop/images/15042025/01/23/image_15042025_01_23_59_6226.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_17_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_11_6735.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_04_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_59_5649.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:30:03.424731 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/28/image_15042025_01_28_59_6229.jpg', 2), ('/home/nano/Desktop/images/15042025/01/23/image_15042025_01_23_59_6226.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_17_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_11_6735.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_04_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_59_5649.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:31:21.911117 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/28/image_15042025_01_28_59_6229.jpg', 2), ('/home/nano/Desktop/images/15042025/01/23/image_15042025_01_23_59_6226.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_17_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_11_6735.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_04_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_59_5649.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:32:42.094753 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/28/image_15042025_01_28_59_6229.jpg', 2), ('/home/nano/Desktop/images/15042025/01/23/image_15042025_01_23_59_6226.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_17_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_11_6735.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_04_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/01/18/image_15042025_01_18_59_5649.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:34:03.223278 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/33/image_15042025_01_33_59_5823.jpg', 2), ('/home/nano/Desktop/images/15042025/01/28/image_15042025_01_28_59_6229.jpg', 2), ('/home/nano/Desktop/images/15042025/01/23/image_15042025_01_23_59_6226.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_17_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_11_6735.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_04_5652.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:35:22.469970 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/33/image_15042025_01_33_59_5823.jpg', 2), ('/home/nano/Desktop/images/15042025/01/28/image_15042025_01_28_59_6229.jpg', 2), ('/home/nano/Desktop/images/15042025/01/23/image_15042025_01_23_59_6226.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_17_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_11_6735.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_04_5652.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:36:42.603020 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/33/image_15042025_01_33_59_5823.jpg', 2), ('/home/nano/Desktop/images/15042025/01/28/image_15042025_01_28_59_6229.jpg', 2), ('/home/nano/Desktop/images/15042025/01/23/image_15042025_01_23_59_6226.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_17_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_11_6735.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_04_5652.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:38:02.457732 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/33/image_15042025_01_33_59_5823.jpg', 2), ('/home/nano/Desktop/images/15042025/01/28/image_15042025_01_28_59_6229.jpg', 2), ('/home/nano/Desktop/images/15042025/01/23/image_15042025_01_23_59_6226.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_17_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_11_6735.jpg', 2), ('/home/nano/Desktop/images/15042025/01/19/image_15042025_01_19_04_5652.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:39:22.044120 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/39/image_15042025_01_39_52_5625.jpg', 2), ('/home/nano/Desktop/images/15042025/01/39/image_15042025_01_39_47_5620.jpg', 2), ('/home/nano/Desktop/images/15042025/01/39/image_15042025_01_39_41_6619.jpg', 2), ('/home/nano/Desktop/images/15042025/01/39/image_15042025_01_39_35_5651.jpg', 2), ('/home/nano/Desktop/images/15042025/01/39/image_15042025_01_39_29_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/01/39/image_15042025_01_39_23_6601.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:40:42.203814 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/40/image_15042025_01_40_53_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/01/40/image_15042025_01_40_47_6694.jpg', 2), ('/home/nano/Desktop/images/15042025/01/40/image_15042025_01_40_41_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/01/40/image_15042025_01_40_35_5613.jpg', 2), ('/home/nano/Desktop/images/15042025/01/40/image_15042025_01_40_29_6659.jpg', 2), ('/home/nano/Desktop/images/15042025/01/40/image_15042025_01_40_23_5636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:42:03.085311 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/41/image_15042025_01_41_53_5884.jpg', 2), ('/home/nano/Desktop/images/15042025/01/41/image_15042025_01_41_47_5935.jpg', 2), ('/home/nano/Desktop/images/15042025/01/41/image_15042025_01_41_41_6864.jpg', 2), ('/home/nano/Desktop/images/15042025/01/41/image_15042025_01_41_35_5811.jpg', 2), ('/home/nano/Desktop/images/15042025/01/41/image_15042025_01_41_29_5843.jpg', 2), ('/home/nano/Desktop/images/15042025/01/41/image_15042025_01_41_23_5815.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:43:22.605105 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/43/image_15042025_01_43_59_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/01/43/image_15042025_01_43_47_5653.jpg', 2), ('/home/nano/Desktop/images/15042025/01/43/image_15042025_01_43_41_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/01/43/image_15042025_01_43_35_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/01/43/image_15042025_01_43_23_5672.jpg', 2), ('/home/nano/Desktop/images/15042025/01/43/image_15042025_01_43_17_6682.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:44:42.714089 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/44/image_15042025_01_44_53_5707.jpg', 2), ('/home/nano/Desktop/images/15042025/01/44/image_15042025_01_44_47_6636.jpg', 2), ('/home/nano/Desktop/images/15042025/01/44/image_15042025_01_44_40_5601.jpg', 2), ('/home/nano/Desktop/images/15042025/01/44/image_15042025_01_44_35_5620.jpg', 2), ('/home/nano/Desktop/images/15042025/01/44/image_15042025_01_44_29_6647.jpg', 2), ('/home/nano/Desktop/images/15042025/01/44/image_15042025_01_44_17_5662.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:46:02.395135 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/45/image_15042025_01_45_46_5918.jpg', 2), ('/home/nano/Desktop/images/15042025/01/45/image_15042025_01_45_41_5903.jpg', 2), ('/home/nano/Desktop/images/15042025/01/45/image_15042025_01_45_35_5850.jpg', 2), ('/home/nano/Desktop/images/15042025/01/45/image_15042025_01_45_29_5826.jpg', 2), ('/home/nano/Desktop/images/15042025/01/45/image_15042025_01_45_23_5818.jpg', 2), ('/home/nano/Desktop/images/15042025/01/45/image_15042025_01_45_17_5813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:47:22.043630 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/47/image_15042025_01_47_47_5761.jpg', 2), ('/home/nano/Desktop/images/15042025/01/47/image_15042025_01_47_41_5885.jpg', 2), ('/home/nano/Desktop/images/15042025/01/47/image_15042025_01_47_35_6807.jpg', 2), ('/home/nano/Desktop/images/15042025/01/47/image_15042025_01_47_28_5788.jpg', 2), ('/home/nano/Desktop/images/15042025/01/47/image_15042025_01_47_23_6178.jpg', 2), ('/home/nano/Desktop/images/15042025/01/47/image_15042025_01_47_11_6861.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:48:42.176824 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/48/image_15042025_01_48_59_5896.jpg', 2), ('/home/nano/Desktop/images/15042025/01/48/image_15042025_01_48_29_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/01/48/image_15042025_01_48_23_5628.jpg', 2), ('/home/nano/Desktop/images/15042025/01/48/image_15042025_01_48_17_6689.jpg', 2), ('/home/nano/Desktop/images/15042025/01/48/image_15042025_01_48_10_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/01/48/image_15042025_01_48_05_5629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:50:03.118295 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/49/image_15042025_01_49_47_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/01/49/image_15042025_01_49_41_6692.jpg', 2), ('/home/nano/Desktop/images/15042025/01/49/image_15042025_01_49_35_5647.jpg', 2), ('/home/nano/Desktop/images/15042025/01/49/image_15042025_01_49_29_5659.jpg', 2), ('/home/nano/Desktop/images/15042025/01/49/image_15042025_01_49_23_6654.jpg', 2), ('/home/nano/Desktop/images/15042025/01/49/image_15042025_01_49_17_5928.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:51:22.567309 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/51/image_15042025_01_51_47_6710.jpg', 2), ('/home/nano/Desktop/images/15042025/01/51/image_15042025_01_51_41_5774.jpg', 2), ('/home/nano/Desktop/images/15042025/01/51/image_15042025_01_51_35_5761.jpg', 2), ('/home/nano/Desktop/images/15042025/01/51/image_15042025_01_51_23_5757.jpg', 2), ('/home/nano/Desktop/images/15042025/01/51/image_15042025_01_51_17_6751.jpg', 2), ('/home/nano/Desktop/images/15042025/01/51/image_15042025_01_51_11_5750.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:52:42.653213 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/52/image_15042025_01_52_47_5784.jpg', 2), ('/home/nano/Desktop/images/15042025/01/52/image_15042025_01_52_41_5761.jpg', 2), ('/home/nano/Desktop/images/15042025/01/52/image_15042025_01_52_35_6146.jpg', 2), ('/home/nano/Desktop/images/15042025/01/52/image_15042025_01_52_29_5884.jpg', 2), ('/home/nano/Desktop/images/15042025/01/52/image_15042025_01_52_23_6719.jpg', 2), ('/home/nano/Desktop/images/15042025/01/52/image_15042025_01_52_16_5739.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:54:02.701186 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/53/image_15042025_01_53_59_5878.jpg', 2), ('/home/nano/Desktop/images/15042025/01/53/image_15042025_01_53_47_5933.jpg', 2), ('/home/nano/Desktop/images/15042025/01/53/image_15042025_01_53_41_6757.jpg', 2), ('/home/nano/Desktop/images/15042025/01/53/image_15042025_01_53_35_5724.jpg', 2), ('/home/nano/Desktop/images/15042025/01/53/image_15042025_01_53_29_5739.jpg', 2), ('/home/nano/Desktop/images/15042025/01/53/image_15042025_01_53_23_6026.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:55:22.003158 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/55/image_15042025_01_55_47_6719.jpg', 2), ('/home/nano/Desktop/images/15042025/01/55/image_15042025_01_55_41_5830.jpg', 2), ('/home/nano/Desktop/images/15042025/01/55/image_15042025_01_55_35_5990.jpg', 2), ('/home/nano/Desktop/images/15042025/01/55/image_15042025_01_55_23_5897.jpg', 2), ('/home/nano/Desktop/images/15042025/01/55/image_15042025_01_55_17_5783.jpg', 2), ('/home/nano/Desktop/images/15042025/01/55/image_15042025_01_55_11_5821.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:56:42.129906 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/56/image_15042025_01_56_47_5636.jpg', 2), ('/home/nano/Desktop/images/15042025/01/56/image_15042025_01_56_41_6684.jpg', 2), ('/home/nano/Desktop/images/15042025/01/56/image_15042025_01_56_34_5630.jpg', 2), ('/home/nano/Desktop/images/15042025/01/56/image_15042025_01_56_29_5614.jpg', 2), ('/home/nano/Desktop/images/15042025/01/56/image_15042025_01_56_23_6706.jpg', 2), ('/home/nano/Desktop/images/15042025/01/56/image_15042025_01_56_05_5691.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 01:59:03.154505 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/01/58/image_15042025_01_58_59_5931.jpg', 2), ('/home/nano/Desktop/images/15042025/01/58/image_15042025_01_58_47_5616.jpg', 2), ('/home/nano/Desktop/images/15042025/01/58/image_15042025_01_58_41_6606.jpg', 2), ('/home/nano/Desktop/images/15042025/01/58/image_15042025_01_58_35_5620.jpg', 2), ('/home/nano/Desktop/images/15042025/01/58/image_15042025_01_58_29_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/01/58/image_15042025_01_58_23_6646.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:00:22.670748 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/00/image_15042025_02_00_05_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/01/59/image_15042025_01_59_59_6647.jpg', 2), ('/home/nano/Desktop/images/15042025/01/59/image_15042025_01_59_52_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/01/59/image_15042025_01_59_47_5603.jpg', 2), ('/home/nano/Desktop/images/15042025/01/59/image_15042025_01_59_41_6662.jpg', 2), ('/home/nano/Desktop/images/15042025/01/59/image_15042025_01_59_35_5670.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:01:42.772402 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/01/image_15042025_02_01_53_6641.jpg', 2), ('/home/nano/Desktop/images/15042025/02/01/image_15042025_02_01_47_5630.jpg', 2), ('/home/nano/Desktop/images/15042025/02/01/image_15042025_02_01_41_5659.jpg', 2), ('/home/nano/Desktop/images/15042025/02/01/image_15042025_02_01_35_6641.jpg', 2), ('/home/nano/Desktop/images/15042025/02/01/image_15042025_02_01_29_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/02/01/image_15042025_02_01_23_5803.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:03:02.692963 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/03/image_15042025_02_03_59_6848.jpg', 2), ('/home/nano/Desktop/images/15042025/02/02/image_15042025_02_02_53_5661.jpg', 2), ('/home/nano/Desktop/images/15042025/02/02/image_15042025_02_02_47_5645.jpg', 2), ('/home/nano/Desktop/images/15042025/02/02/image_15042025_02_02_41_6686.jpg', 2), ('/home/nano/Desktop/images/15042025/02/02/image_15042025_02_02_35_5647.jpg', 2), ('/home/nano/Desktop/images/15042025/02/02/image_15042025_02_02_29_5627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:04:22.127331 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/04/image_15042025_02_04_47_5787.jpg', 2), ('/home/nano/Desktop/images/15042025/02/04/image_15042025_02_04_41_5740.jpg', 2), ('/home/nano/Desktop/images/15042025/02/04/image_15042025_02_04_35_6791.jpg', 2), ('/home/nano/Desktop/images/15042025/02/04/image_15042025_02_04_29_5941.jpg', 2), ('/home/nano/Desktop/images/15042025/02/04/image_15042025_02_04_23_5798.jpg', 2), ('/home/nano/Desktop/images/15042025/02/04/image_15042025_02_04_17_5705.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:05:42.262030 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/05/image_15042025_02_05_53_6633.jpg', 2), ('/home/nano/Desktop/images/15042025/02/05/image_15042025_02_05_41_5644.jpg', 2), ('/home/nano/Desktop/images/15042025/02/05/image_15042025_02_05_29_5663.jpg', 2), ('/home/nano/Desktop/images/15042025/02/05/image_15042025_02_05_23_5748.jpg', 2), ('/home/nano/Desktop/images/15042025/02/05/image_15042025_02_05_17_5787.jpg', 2), ('/home/nano/Desktop/images/15042025/02/05/image_15042025_02_05_11_6993.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:07:03.048302 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/06/image_15042025_02_06_53_5655.jpg', 2), ('/home/nano/Desktop/images/15042025/02/06/image_15042025_02_06_47_5628.jpg', 2), ('/home/nano/Desktop/images/15042025/02/06/image_15042025_02_06_41_6629.jpg', 2), ('/home/nano/Desktop/images/15042025/02/06/image_15042025_02_06_35_5610.jpg', 2), ('/home/nano/Desktop/images/15042025/02/06/image_15042025_02_06_29_5627.jpg', 2), ('/home/nano/Desktop/images/15042025/02/06/image_15042025_02_06_23_6641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:08:22.645368 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/08/image_15042025_02_08_59_5785.jpg', 2), ('/home/nano/Desktop/images/15042025/02/08/image_15042025_02_08_47_5781.jpg', 2), ('/home/nano/Desktop/images/15042025/02/08/image_15042025_02_08_41_5857.jpg', 2), ('/home/nano/Desktop/images/15042025/02/08/image_15042025_02_08_35_5799.jpg', 2), ('/home/nano/Desktop/images/15042025/02/08/image_15042025_02_08_29_5776.jpg', 2), ('/home/nano/Desktop/images/15042025/02/08/image_15042025_02_08_23_6857.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:09:41.825002 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/09/image_15042025_02_09_53_6614.jpg', 2), ('/home/nano/Desktop/images/15042025/02/09/image_15042025_02_09_47_5853.jpg', 2), ('/home/nano/Desktop/images/15042025/02/09/image_15042025_02_09_35_5861.jpg', 2), ('/home/nano/Desktop/images/15042025/02/09/image_15042025_02_09_29_5837.jpg', 2), ('/home/nano/Desktop/images/15042025/02/09/image_15042025_02_09_23_6844.jpg', 2), ('/home/nano/Desktop/images/15042025/02/09/image_15042025_02_09_17_6028.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:11:02.854187 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/10/image_15042025_02_10_53_5614.jpg', 2), ('/home/nano/Desktop/images/15042025/02/10/image_15042025_02_10_47_6623.jpg', 2), ('/home/nano/Desktop/images/15042025/02/10/image_15042025_02_10_40_5618.jpg', 2), ('/home/nano/Desktop/images/15042025/02/10/image_15042025_02_10_35_5627.jpg', 2), ('/home/nano/Desktop/images/15042025/02/10/image_15042025_02_10_29_6652.jpg', 2), ('/home/nano/Desktop/images/15042025/02/10/image_15042025_02_10_23_5616.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:12:22.302525 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/12/image_15042025_02_12_53_6161.jpg', 2), ('/home/nano/Desktop/images/15042025/02/12/image_15042025_02_12_41_5898.jpg', 2), ('/home/nano/Desktop/images/15042025/02/12/image_15042025_02_12_35_5853.jpg', 2), ('/home/nano/Desktop/images/15042025/02/12/image_15042025_02_12_29_5887.jpg', 2), ('/home/nano/Desktop/images/15042025/02/12/image_15042025_02_12_23_5860.jpg', 2), ('/home/nano/Desktop/images/15042025/02/12/image_15042025_02_12_17_5861.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:13:42.420930 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/13/image_15042025_02_13_59_5798.jpg', 2), ('/home/nano/Desktop/images/15042025/02/13/image_15042025_02_13_47_5805.jpg', 2), ('/home/nano/Desktop/images/15042025/02/13/image_15042025_02_13_41_6021.jpg', 2), ('/home/nano/Desktop/images/15042025/02/13/image_15042025_02_13_29_6842.jpg', 2), ('/home/nano/Desktop/images/15042025/02/13/image_15042025_02_13_22_5865.jpg', 2), ('/home/nano/Desktop/images/15042025/02/13/image_15042025_02_13_17_5863.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:15:03.264740 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/14/image_15042025_02_14_53_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/02/14/image_15042025_02_14_47_6605.jpg', 2), ('/home/nano/Desktop/images/15042025/02/14/image_15042025_02_14_35_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/02/14/image_15042025_02_14_29_6787.jpg', 2), ('/home/nano/Desktop/images/15042025/02/14/image_15042025_02_14_23_5984.jpg', 2), ('/home/nano/Desktop/images/15042025/02/14/image_15042025_02_14_10_5914.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:16:21.800745 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/16/image_15042025_02_16_53_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/02/16/image_15042025_02_16_47_6681.jpg', 2), ('/home/nano/Desktop/images/15042025/02/16/image_15042025_02_16_40_5614.jpg', 2), ('/home/nano/Desktop/images/15042025/02/16/image_15042025_02_16_35_5735.jpg', 2), ('/home/nano/Desktop/images/15042025/02/16/image_15042025_02_16_29_6665.jpg', 2), ('/home/nano/Desktop/images/15042025/02/16/image_15042025_02_16_22_5611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:17:41.939352 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/17/image_15042025_02_17_53_5777.jpg', 2), ('/home/nano/Desktop/images/15042025/02/17/image_15042025_02_17_47_5833.jpg', 2), ('/home/nano/Desktop/images/15042025/02/17/image_15042025_02_17_41_6179.jpg', 2), ('/home/nano/Desktop/images/15042025/02/17/image_15042025_02_17_29_5825.jpg', 2), ('/home/nano/Desktop/images/15042025/02/17/image_15042025_02_17_23_5782.jpg', 2), ('/home/nano/Desktop/images/15042025/02/17/image_15042025_02_17_17_5878.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:19:02.994426 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/18/image_15042025_02_18_59_6931.jpg', 2), ('/home/nano/Desktop/images/15042025/02/18/image_15042025_02_18_41_5780.jpg', 2), ('/home/nano/Desktop/images/15042025/02/18/image_15042025_02_18_35_5843.jpg', 2), ('/home/nano/Desktop/images/15042025/02/18/image_15042025_02_18_29_5857.jpg', 2), ('/home/nano/Desktop/images/15042025/02/18/image_15042025_02_18_23_5944.jpg', 2), ('/home/nano/Desktop/images/15042025/02/18/image_15042025_02_18_17_5938.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:20:22.295884 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/20/image_15042025_02_20_53_6632.jpg', 2), ('/home/nano/Desktop/images/15042025/02/20/image_15042025_02_20_47_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/02/20/image_15042025_02_20_41_6645.jpg', 2), ('/home/nano/Desktop/images/15042025/02/20/image_15042025_02_20_34_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/02/20/image_15042025_02_20_29_5618.jpg', 2), ('/home/nano/Desktop/images/15042025/02/20/image_15042025_02_20_23_6657.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:21:42.452884 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/21/image_15042025_02_21_53_5616.jpg', 2), ('/home/nano/Desktop/images/15042025/02/21/image_15042025_02_21_47_6666.jpg', 2), ('/home/nano/Desktop/images/15042025/02/21/image_15042025_02_21_41_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/02/21/image_15042025_02_21_35_5623.jpg', 2), ('/home/nano/Desktop/images/15042025/02/21/image_15042025_02_21_29_6643.jpg', 2), ('/home/nano/Desktop/images/15042025/02/21/image_15042025_02_21_23_5644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:23:03.252207 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/22/image_15042025_02_22_53_5755.jpg', 2), ('/home/nano/Desktop/images/15042025/02/22/image_15042025_02_22_47_5819.jpg', 2), ('/home/nano/Desktop/images/15042025/02/22/image_15042025_02_22_41_6675.jpg', 2), ('/home/nano/Desktop/images/15042025/02/22/image_15042025_02_22_34_5665.jpg', 2), ('/home/nano/Desktop/images/15042025/02/22/image_15042025_02_22_29_5643.jpg', 2), ('/home/nano/Desktop/images/15042025/02/22/image_15042025_02_22_23_6658.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:24:21.869234 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_53_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_47_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_41_6617.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_35_5703.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_29_5849.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_23_5771.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:25:42.000846 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/25/image_15042025_02_25_05_5669.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_59_6658.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_53_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_47_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_41_6617.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_35_5703.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:27:02.844686 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/25/image_15042025_02_25_05_5669.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_59_6658.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_53_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_47_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_41_6617.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_35_5703.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:28:22.368634 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/28/image_15042025_02_28_59_5847.jpg', 2), ('/home/nano/Desktop/images/15042025/02/25/image_15042025_02_25_05_5669.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_59_6658.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_53_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_47_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_41_6617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:29:42.483205 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/28/image_15042025_02_28_59_5847.jpg', 2), ('/home/nano/Desktop/images/15042025/02/25/image_15042025_02_25_05_5669.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_59_6658.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_53_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_47_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_41_6617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:31:03.388564 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/28/image_15042025_02_28_59_5847.jpg', 2), ('/home/nano/Desktop/images/15042025/02/25/image_15042025_02_25_10_5655.jpg', 2), ('/home/nano/Desktop/images/15042025/02/25/image_15042025_02_25_05_5669.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_59_6658.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_53_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/02/24/image_15042025_02_24_47_5622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:32:21.871253 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/32/image_15042025_02_32_53_5832.jpg', 2), ('/home/nano/Desktop/images/15042025/02/32/image_15042025_02_32_47_5904.jpg', 2), ('/home/nano/Desktop/images/15042025/02/32/image_15042025_02_32_41_5817.jpg', 2), ('/home/nano/Desktop/images/15042025/02/32/image_15042025_02_32_35_6825.jpg', 2), ('/home/nano/Desktop/images/15042025/02/32/image_15042025_02_32_28_5891.jpg', 2), ('/home/nano/Desktop/images/15042025/02/32/image_15042025_02_32_23_5955.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:33:42.003919 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/33/image_15042025_02_33_59_5883.jpg', 2), ('/home/nano/Desktop/images/15042025/02/33/image_15042025_02_33_47_5808.jpg', 2), ('/home/nano/Desktop/images/15042025/02/33/image_15042025_02_33_41_6781.jpg', 2), ('/home/nano/Desktop/images/15042025/02/33/image_15042025_02_33_35_6012.jpg', 2), ('/home/nano/Desktop/images/15042025/02/33/image_15042025_02_33_28_5939.jpg', 2), ('/home/nano/Desktop/images/15042025/02/33/image_15042025_02_33_11_6911.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:35:02.683202 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/34/image_15042025_02_34_41_6909.jpg', 2), ('/home/nano/Desktop/images/15042025/02/34/image_15042025_02_34_35_5855.jpg', 2), ('/home/nano/Desktop/images/15042025/02/34/image_15042025_02_34_29_5852.jpg', 2), ('/home/nano/Desktop/images/15042025/02/34/image_15042025_02_34_23_5918.jpg', 2), ('/home/nano/Desktop/images/15042025/02/34/image_15042025_02_34_17_6136.jpg', 2), ('/home/nano/Desktop/images/15042025/02/34/image_15042025_02_34_05_5871.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:36:22.343819 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/36/image_15042025_02_36_35_5630.jpg', 2), ('/home/nano/Desktop/images/15042025/02/36/image_15042025_02_36_29_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/02/36/image_15042025_02_36_23_6625.jpg', 2), ('/home/nano/Desktop/images/15042025/02/36/image_15042025_02_36_17_5650.jpg', 2), ('/home/nano/Desktop/images/15042025/02/36/image_15042025_02_36_05_6653.jpg', 2), ('/home/nano/Desktop/images/15042025/02/35/image_15042025_02_35_59_5635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:37:42.495950 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/37/image_15042025_02_37_53_5789.jpg', 2), ('/home/nano/Desktop/images/15042025/02/37/image_15042025_02_37_47_6848.jpg', 2), ('/home/nano/Desktop/images/15042025/02/37/image_15042025_02_37_40_5657.jpg', 2), ('/home/nano/Desktop/images/15042025/02/37/image_15042025_02_37_35_5741.jpg', 2), ('/home/nano/Desktop/images/15042025/02/37/image_15042025_02_37_29_6619.jpg', 2), ('/home/nano/Desktop/images/15042025/02/37/image_15042025_02_37_17_5821.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:39:03.621129 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/38/image_15042025_02_38_59_5825.jpg', 2), ('/home/nano/Desktop/images/15042025/02/38/image_15042025_02_38_46_5738.jpg', 2), ('/home/nano/Desktop/images/15042025/02/38/image_15042025_02_38_41_5837.jpg', 2), ('/home/nano/Desktop/images/15042025/02/38/image_15042025_02_38_35_5779.jpg', 2), ('/home/nano/Desktop/images/15042025/02/38/image_15042025_02_38_23_5743.jpg', 2), ('/home/nano/Desktop/images/15042025/02/38/image_15042025_02_38_17_6828.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:40:21.864868 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/40/image_15042025_02_40_53_5667.jpg', 2), ('/home/nano/Desktop/images/15042025/02/40/image_15042025_02_40_47_6652.jpg', 2), ('/home/nano/Desktop/images/15042025/02/40/image_15042025_02_40_41_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/02/40/image_15042025_02_40_35_6636.jpg', 2), ('/home/nano/Desktop/images/15042025/02/40/image_15042025_02_40_28_5717.jpg', 2), ('/home/nano/Desktop/images/15042025/02/40/image_15042025_02_40_23_5993.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:41:41.992035 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/41/image_15042025_02_41_53_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/02/41/image_15042025_02_41_47_5645.jpg', 2), ('/home/nano/Desktop/images/15042025/02/41/image_15042025_02_41_41_6660.jpg', 2), ('/home/nano/Desktop/images/15042025/02/41/image_15042025_02_41_35_5644.jpg', 2), ('/home/nano/Desktop/images/15042025/02/41/image_15042025_02_41_29_5628.jpg', 2), ('/home/nano/Desktop/images/15042025/02/41/image_15042025_02_41_23_6643.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:43:02.853200 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/42/image_15042025_02_42_53_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/02/42/image_15042025_02_42_46_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/02/42/image_15042025_02_42_41_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/02/42/image_15042025_02_42_35_5809.jpg', 2), ('/home/nano/Desktop/images/15042025/02/42/image_15042025_02_42_29_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/02/42/image_15042025_02_42_17_6640.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:44:22.365043 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/44/image_15042025_02_44_53_5875.jpg', 2), ('/home/nano/Desktop/images/15042025/02/44/image_15042025_02_44_47_5742.jpg', 2), ('/home/nano/Desktop/images/15042025/02/44/image_15042025_02_44_41_5871.jpg', 2), ('/home/nano/Desktop/images/15042025/02/44/image_15042025_02_44_35_5899.jpg', 2), ('/home/nano/Desktop/images/15042025/02/44/image_15042025_02_44_29_6896.jpg', 2), ('/home/nano/Desktop/images/15042025/02/44/image_15042025_02_44_22_5802.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:45:42.524427 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/45/image_15042025_02_45_53_5899.jpg', 2), ('/home/nano/Desktop/images/15042025/02/45/image_15042025_02_45_41_5876.jpg', 2), ('/home/nano/Desktop/images/15042025/02/45/image_15042025_02_45_35_5784.jpg', 2), ('/home/nano/Desktop/images/15042025/02/45/image_15042025_02_45_29_5850.jpg', 2), ('/home/nano/Desktop/images/15042025/02/45/image_15042025_02_45_23_6773.jpg', 2), ('/home/nano/Desktop/images/15042025/02/45/image_15042025_02_45_17_6017.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:47:03.469825 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/46/image_15042025_02_46_53_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/02/46/image_15042025_02_46_47_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/02/46/image_15042025_02_46_41_6623.jpg', 2), ('/home/nano/Desktop/images/15042025/02/46/image_15042025_02_46_35_5688.jpg', 2), ('/home/nano/Desktop/images/15042025/02/46/image_15042025_02_46_29_5612.jpg', 2), ('/home/nano/Desktop/images/15042025/02/46/image_15042025_02_46_17_5606.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:48:21.896149 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/48/image_15042025_02_48_59_5772.jpg', 2), ('/home/nano/Desktop/images/15042025/02/48/image_15042025_02_48_46_5783.jpg', 2), ('/home/nano/Desktop/images/15042025/02/48/image_15042025_02_48_41_5658.jpg', 2), ('/home/nano/Desktop/images/15042025/02/48/image_15042025_02_48_35_5624.jpg', 2), ('/home/nano/Desktop/images/15042025/02/48/image_15042025_02_48_29_6665.jpg', 2), ('/home/nano/Desktop/images/15042025/02/48/image_15042025_02_48_23_5829.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:49:42.065478 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/49/image_15042025_02_49_47_5800.jpg', 2), ('/home/nano/Desktop/images/15042025/02/49/image_15042025_02_49_41_5833.jpg', 2), ('/home/nano/Desktop/images/15042025/02/49/image_15042025_02_49_35_5827.jpg', 2), ('/home/nano/Desktop/images/15042025/02/49/image_15042025_02_49_29_6003.jpg', 2), ('/home/nano/Desktop/images/15042025/02/49/image_15042025_02_49_23_6011.jpg', 2), ('/home/nano/Desktop/images/15042025/02/49/image_15042025_02_49_17_6724.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:51:02.915737 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/50/image_15042025_02_50_53_5728.jpg', 2), ('/home/nano/Desktop/images/15042025/02/50/image_15042025_02_50_47_5751.jpg', 2), ('/home/nano/Desktop/images/15042025/02/50/image_15042025_02_50_41_6749.jpg', 2), ('/home/nano/Desktop/images/15042025/02/50/image_15042025_02_50_35_5866.jpg', 2), ('/home/nano/Desktop/images/15042025/02/50/image_15042025_02_50_23_5785.jpg', 2), ('/home/nano/Desktop/images/15042025/02/50/image_15042025_02_50_17_5744.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:52:22.473537 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/52/image_15042025_02_52_53_6099.jpg', 2), ('/home/nano/Desktop/images/15042025/02/52/image_15042025_02_52_41_5848.jpg', 2), ('/home/nano/Desktop/images/15042025/02/52/image_15042025_02_52_35_5881.jpg', 2), ('/home/nano/Desktop/images/15042025/02/52/image_15042025_02_52_23_5896.jpg', 2), ('/home/nano/Desktop/images/15042025/02/52/image_15042025_02_52_17_5800.jpg', 2), ('/home/nano/Desktop/images/15042025/02/52/image_15042025_02_52_11_6802.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:53:42.596741 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/53/image_15042025_02_53_59_5898.jpg', 2), ('/home/nano/Desktop/images/15042025/02/53/image_15042025_02_53_47_6045.jpg', 2), ('/home/nano/Desktop/images/15042025/02/53/image_15042025_02_53_41_6054.jpg', 2), ('/home/nano/Desktop/images/15042025/02/53/image_15042025_02_53_35_6729.jpg', 2), ('/home/nano/Desktop/images/15042025/02/53/image_15042025_02_53_28_6030.jpg', 2), ('/home/nano/Desktop/images/15042025/02/53/image_15042025_02_53_22_6018.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:55:02.557934 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/54/image_15042025_02_54_47_6641.jpg', 2), ('/home/nano/Desktop/images/15042025/02/54/image_15042025_02_54_41_5657.jpg', 2), ('/home/nano/Desktop/images/15042025/02/54/image_15042025_02_54_35_5730.jpg', 2), ('/home/nano/Desktop/images/15042025/02/54/image_15042025_02_54_23_6694.jpg', 2), ('/home/nano/Desktop/images/15042025/02/54/image_15042025_02_54_17_5735.jpg', 2), ('/home/nano/Desktop/images/15042025/02/54/image_15042025_02_54_11_5950.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:56:22.008982 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/55/image_15042025_02_55_05_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/02/54/image_15042025_02_54_53_5615.jpg', 2), ('/home/nano/Desktop/images/15042025/02/54/image_15042025_02_54_47_6641.jpg', 2), ('/home/nano/Desktop/images/15042025/02/54/image_15042025_02_54_41_5657.jpg', 2), ('/home/nano/Desktop/images/15042025/02/54/image_15042025_02_54_35_5730.jpg', 2), ('/home/nano/Desktop/images/15042025/02/54/image_15042025_02_54_23_6694.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:57:42.144279 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:58:02.712563 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/55/image_15042025_02_55_05_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/02/54/image_15042025_02_54_53_5615.jpg', 2), ('/home/nano/Desktop/images/15042025/02/54/image_15042025_02_54_47_6641.jpg', 2), ('/home/nano/Desktop/images/15042025/02/54/image_15042025_02_54_41_5657.jpg', 2), ('/home/nano/Desktop/images/15042025/02/54/image_15042025_02_54_35_5730.jpg', 2), ('/home/nano/Desktop/images/15042025/02/54/image_15042025_02_54_23_6694.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 02:59:22.405160 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/02/59/image_15042025_02_59_53_6643.jpg', 2), ('/home/nano/Desktop/images/15042025/02/59/image_15042025_02_59_47_5627.jpg', 2), ('/home/nano/Desktop/images/15042025/02/59/image_15042025_02_59_41_6643.jpg', 2), ('/home/nano/Desktop/images/15042025/02/59/image_15042025_02_59_35_5623.jpg', 2), ('/home/nano/Desktop/images/15042025/02/59/image_15042025_02_59_29_5592.jpg', 2), ('/home/nano/Desktop/images/15042025/02/59/image_15042025_02_59_23_6633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:00:42.505772 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/00/image_15042025_03_00_53_5875.jpg', 2), ('/home/nano/Desktop/images/15042025/03/00/image_15042025_03_00_47_5883.jpg', 2), ('/home/nano/Desktop/images/15042025/03/00/image_15042025_03_00_41_5832.jpg', 2), ('/home/nano/Desktop/images/15042025/03/00/image_15042025_03_00_35_5884.jpg', 2), ('/home/nano/Desktop/images/15042025/03/00/image_15042025_03_00_29_5864.jpg', 2), ('/home/nano/Desktop/images/15042025/03/00/image_15042025_03_00_23_5891.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:02:03.316482 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/01/image_15042025_03_01_47_5943.jpg', 2), ('/home/nano/Desktop/images/15042025/03/01/image_15042025_03_01_41_5840.jpg', 2), ('/home/nano/Desktop/images/15042025/03/01/image_15042025_03_01_35_6917.jpg', 2), ('/home/nano/Desktop/images/15042025/03/01/image_15042025_03_01_28_5859.jpg', 2), ('/home/nano/Desktop/images/15042025/03/01/image_15042025_03_01_23_5985.jpg', 2), ('/home/nano/Desktop/images/15042025/03/01/image_15042025_03_01_17_6190.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:03:21.897534 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/03/image_15042025_03_03_58_5803.jpg', 2), ('/home/nano/Desktop/images/15042025/03/03/image_15042025_03_03_47_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/03/03/image_15042025_03_03_41_6642.jpg', 2), ('/home/nano/Desktop/images/15042025/03/03/image_15042025_03_03_35_5602.jpg', 2), ('/home/nano/Desktop/images/15042025/03/03/image_15042025_03_03_29_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/03/03/image_15042025_03_03_22_5801.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:04:42.009231 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/03/image_15042025_03_03_58_5803.jpg', 2), ('/home/nano/Desktop/images/15042025/03/03/image_15042025_03_03_47_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/03/03/image_15042025_03_03_41_6642.jpg', 2), ('/home/nano/Desktop/images/15042025/03/03/image_15042025_03_03_35_5602.jpg', 2), ('/home/nano/Desktop/images/15042025/03/03/image_15042025_03_03_29_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/03/03/image_15042025_03_03_22_5801.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:06:02.840244 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/05/image_15042025_03_05_53_5643.jpg', 2), ('/home/nano/Desktop/images/15042025/03/05/image_15042025_03_05_47_6640.jpg', 2), ('/home/nano/Desktop/images/15042025/03/05/image_15042025_03_05_41_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/03/05/image_15042025_03_05_35_5623.jpg', 2), ('/home/nano/Desktop/images/15042025/03/05/image_15042025_03_05_29_6695.jpg', 2), ('/home/nano/Desktop/images/15042025/03/05/image_15042025_03_05_23_5787.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:07:22.372263 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/07/image_15042025_03_07_53_5670.jpg', 2), ('/home/nano/Desktop/images/15042025/03/07/image_15042025_03_07_47_6677.jpg', 2), ('/home/nano/Desktop/images/15042025/03/07/image_15042025_03_07_41_5657.jpg', 2), ('/home/nano/Desktop/images/15042025/03/07/image_15042025_03_07_35_5604.jpg', 2), ('/home/nano/Desktop/images/15042025/03/07/image_15042025_03_07_29_6626.jpg', 2), ('/home/nano/Desktop/images/15042025/03/07/image_15042025_03_07_23_5639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:08:42.512300 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/08/image_15042025_03_08_59_6125.jpg', 2), ('/home/nano/Desktop/images/15042025/03/08/image_15042025_03_08_47_5784.jpg', 2), ('/home/nano/Desktop/images/15042025/03/08/image_15042025_03_08_41_5773.jpg', 2), ('/home/nano/Desktop/images/15042025/03/08/image_15042025_03_08_35_6836.jpg', 2), ('/home/nano/Desktop/images/15042025/03/08/image_15042025_03_08_29_5839.jpg', 2), ('/home/nano/Desktop/images/15042025/03/08/image_15042025_03_08_23_5816.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:10:03.413851 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/09/image_15042025_03_09_53_5805.jpg', 2), ('/home/nano/Desktop/images/15042025/03/09/image_15042025_03_09_47_5872.jpg', 2), ('/home/nano/Desktop/images/15042025/03/09/image_15042025_03_09_41_5843.jpg', 2), ('/home/nano/Desktop/images/15042025/03/09/image_15042025_03_09_35_6817.jpg', 2), ('/home/nano/Desktop/images/15042025/03/09/image_15042025_03_09_28_5829.jpg', 2), ('/home/nano/Desktop/images/15042025/03/09/image_15042025_03_09_23_5798.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:11:21.873410 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_29_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_23_6654.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_17_5682.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_11_5661.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_05_6694.jpg', 2), ('/home/nano/Desktop/images/15042025/03/09/image_15042025_03_09_59_5776.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:12:41.967598 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_29_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_23_6654.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_17_5682.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_11_5661.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_05_6694.jpg', 2), ('/home/nano/Desktop/images/15042025/03/09/image_15042025_03_09_59_5776.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:14:02.799951 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/13/image_15042025_03_13_59_5906.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_29_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_23_6654.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_17_5682.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_11_5661.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_05_6694.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:15:22.434509 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/13/image_15042025_03_13_59_5906.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_29_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_23_6654.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_17_5682.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_11_5661.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_05_6694.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:16:42.583503 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/13/image_15042025_03_13_59_5906.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_29_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_23_6654.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_17_5682.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_11_5661.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_05_6694.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:18:02.479690 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/18/image_15042025_03_18_59_6923.jpg', 2), ('/home/nano/Desktop/images/15042025/03/13/image_15042025_03_13_59_5906.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_29_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_23_6654.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_17_5682.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_11_5661.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:19:21.975621 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/19/image_15042025_03_19_35_5631.jpg', 2), ('/home/nano/Desktop/images/15042025/03/18/image_15042025_03_18_59_6923.jpg', 2), ('/home/nano/Desktop/images/15042025/03/13/image_15042025_03_13_59_5906.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_41_6669.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_29_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/03/10/image_15042025_03_10_23_6654.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:20:42.108235 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/20/image_15042025_03_20_53_5641.jpg', 2), ('/home/nano/Desktop/images/15042025/03/20/image_15042025_03_20_47_6644.jpg', 2), ('/home/nano/Desktop/images/15042025/03/20/image_15042025_03_20_41_5659.jpg', 2), ('/home/nano/Desktop/images/15042025/03/20/image_15042025_03_20_35_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/03/20/image_15042025_03_20_29_6635.jpg', 2), ('/home/nano/Desktop/images/15042025/03/20/image_15042025_03_20_23_5621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:22:02.987060 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/21/image_15042025_03_21_53_5772.jpg', 2), ('/home/nano/Desktop/images/15042025/03/21/image_15042025_03_21_47_6797.jpg', 2), ('/home/nano/Desktop/images/15042025/03/21/image_15042025_03_21_41_5743.jpg', 2), ('/home/nano/Desktop/images/15042025/03/21/image_15042025_03_21_35_5803.jpg', 2), ('/home/nano/Desktop/images/15042025/03/21/image_15042025_03_21_29_5820.jpg', 2), ('/home/nano/Desktop/images/15042025/03/21/image_15042025_03_21_23_6793.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:23:22.503188 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/23/image_15042025_03_23_59_6710.jpg', 2), ('/home/nano/Desktop/images/15042025/03/23/image_15042025_03_23_47_5709.jpg', 2), ('/home/nano/Desktop/images/15042025/03/23/image_15042025_03_23_41_5779.jpg', 2), ('/home/nano/Desktop/images/15042025/03/23/image_15042025_03_23_35_5946.jpg', 2), ('/home/nano/Desktop/images/15042025/03/23/image_15042025_03_23_29_6201.jpg', 2), ('/home/nano/Desktop/images/15042025/03/23/image_15042025_03_23_23_5807.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:24:42.612862 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/24/image_15042025_03_24_53_6673.jpg', 2), ('/home/nano/Desktop/images/15042025/03/24/image_15042025_03_24_47_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/03/24/image_15042025_03_24_41_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/03/24/image_15042025_03_24_35_6621.jpg', 2), ('/home/nano/Desktop/images/15042025/03/24/image_15042025_03_24_29_5660.jpg', 2), ('/home/nano/Desktop/images/15042025/03/24/image_15042025_03_24_23_6659.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:26:02.371932 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/25/image_15042025_03_25_53_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/03/25/image_15042025_03_25_47_6620.jpg', 2), ('/home/nano/Desktop/images/15042025/03/25/image_15042025_03_25_40_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/03/25/image_15042025_03_25_29_6633.jpg', 2), ('/home/nano/Desktop/images/15042025/03/25/image_15042025_03_25_23_5647.jpg', 2), ('/home/nano/Desktop/images/15042025/03/25/image_15042025_03_25_17_5658.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:27:21.958818 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/27/image_15042025_03_27_53_5760.jpg', 2), ('/home/nano/Desktop/images/15042025/03/27/image_15042025_03_27_47_6819.jpg', 2), ('/home/nano/Desktop/images/15042025/03/27/image_15042025_03_27_40_5892.jpg', 2), ('/home/nano/Desktop/images/15042025/03/27/image_15042025_03_27_23_5780.jpg', 2), ('/home/nano/Desktop/images/15042025/03/27/image_15042025_03_27_17_5792.jpg', 2), ('/home/nano/Desktop/images/15042025/03/27/image_15042025_03_27_11_5819.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:28:42.104539 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/28/image_15042025_03_28_59_6811.jpg', 2), ('/home/nano/Desktop/images/15042025/03/28/image_15042025_03_28_41_5786.jpg', 2), ('/home/nano/Desktop/images/15042025/03/28/image_15042025_03_28_35_5779.jpg', 2), ('/home/nano/Desktop/images/15042025/03/28/image_15042025_03_28_29_6775.jpg', 2), ('/home/nano/Desktop/images/15042025/03/28/image_15042025_03_28_23_6146.jpg', 2), ('/home/nano/Desktop/images/15042025/03/28/image_15042025_03_28_11_6839.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:30:03.067885 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/29/image_15042025_03_29_53_5734.jpg', 2), ('/home/nano/Desktop/images/15042025/03/29/image_15042025_03_29_47_5858.jpg', 2), ('/home/nano/Desktop/images/15042025/03/29/image_15042025_03_29_41_6786.jpg', 2), ('/home/nano/Desktop/images/15042025/03/29/image_15042025_03_29_29_6909.jpg', 2), ('/home/nano/Desktop/images/15042025/03/29/image_15042025_03_29_23_5785.jpg', 2), ('/home/nano/Desktop/images/15042025/03/29/image_15042025_03_29_17_5836.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:31:22.446290 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_34_5618.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_29_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_23_6638.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_17_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_05_6677.jpg', 2), ('/home/nano/Desktop/images/15042025/03/29/image_15042025_03_29_59_5714.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:32:42.608889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_34_5618.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_29_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_23_6638.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_17_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_05_6677.jpg', 2), ('/home/nano/Desktop/images/15042025/03/29/image_15042025_03_29_59_5714.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:34:02.573304 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/33/image_15042025_03_33_59_5837.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_34_5618.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_29_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_23_6638.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_17_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_05_6677.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:35:22.009349 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/33/image_15042025_03_33_59_5837.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_34_5618.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_29_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_23_6638.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_17_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_05_6677.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:36:42.132723 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/36/image_15042025_03_36_53_5612.jpg', 2), ('/home/nano/Desktop/images/15042025/03/36/image_15042025_03_36_47_5618.jpg', 2), ('/home/nano/Desktop/images/15042025/03/36/image_15042025_03_36_41_6691.jpg', 2), ('/home/nano/Desktop/images/15042025/03/36/image_15042025_03_36_35_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/03/33/image_15042025_03_33_59_5837.jpg', 2), ('/home/nano/Desktop/images/15042025/03/30/image_15042025_03_30_41_6621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:38:03.001638 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/37/image_15042025_03_37_53_6894.jpg', 2), ('/home/nano/Desktop/images/15042025/03/37/image_15042025_03_37_46_5918.jpg', 2), ('/home/nano/Desktop/images/15042025/03/37/image_15042025_03_37_41_5617.jpg', 2), ('/home/nano/Desktop/images/15042025/03/37/image_15042025_03_37_35_5627.jpg', 2), ('/home/nano/Desktop/images/15042025/03/37/image_15042025_03_37_29_6648.jpg', 2), ('/home/nano/Desktop/images/15042025/03/37/image_15042025_03_37_23_5605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:39:22.614421 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/39/image_15042025_03_39_52_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/03/39/image_15042025_03_39_47_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/03/39/image_15042025_03_39_41_6675.jpg', 2), ('/home/nano/Desktop/images/15042025/03/39/image_15042025_03_39_35_5643.jpg', 2), ('/home/nano/Desktop/images/15042025/03/39/image_15042025_03_39_29_5628.jpg', 2), ('/home/nano/Desktop/images/15042025/03/39/image_15042025_03_39_23_6646.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:40:42.780521 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/40/image_15042025_03_40_53_5634.jpg', 2), ('/home/nano/Desktop/images/15042025/03/40/image_15042025_03_40_47_6645.jpg', 2), ('/home/nano/Desktop/images/15042025/03/40/image_15042025_03_40_41_5631.jpg', 2), ('/home/nano/Desktop/images/15042025/03/40/image_15042025_03_40_35_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/03/40/image_15042025_03_40_29_6635.jpg', 2), ('/home/nano/Desktop/images/15042025/03/40/image_15042025_03_40_23_5629.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:42:02.601747 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/41/image_15042025_03_41_53_6171.jpg', 2), ('/home/nano/Desktop/images/15042025/03/41/image_15042025_03_41_41_5824.jpg', 2), ('/home/nano/Desktop/images/15042025/03/41/image_15042025_03_41_35_6784.jpg', 2), ('/home/nano/Desktop/images/15042025/03/41/image_15042025_03_41_29_5754.jpg', 2), ('/home/nano/Desktop/images/15042025/03/41/image_15042025_03_41_23_5835.jpg', 2), ('/home/nano/Desktop/images/15042025/03/41/image_15042025_03_41_17_5789.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:43:22.116763 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/43/image_15042025_03_43_59_6650.jpg', 2), ('/home/nano/Desktop/images/15042025/03/43/image_15042025_03_43_41_6659.jpg', 2), ('/home/nano/Desktop/images/15042025/03/43/image_15042025_03_43_35_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/03/43/image_15042025_03_43_29_5651.jpg', 2), ('/home/nano/Desktop/images/15042025/03/43/image_15042025_03_43_23_6681.jpg', 2), ('/home/nano/Desktop/images/15042025/03/43/image_15042025_03_43_17_5634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:44:42.294582 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/44/image_15042025_03_44_52_5885.jpg', 2), ('/home/nano/Desktop/images/15042025/03/44/image_15042025_03_44_47_5807.jpg', 2), ('/home/nano/Desktop/images/15042025/03/44/image_15042025_03_44_41_5720.jpg', 2), ('/home/nano/Desktop/images/15042025/03/44/image_15042025_03_44_35_5718.jpg', 2), ('/home/nano/Desktop/images/15042025/03/44/image_15042025_03_44_29_6706.jpg', 2), ('/home/nano/Desktop/images/15042025/03/44/image_15042025_03_44_23_5647.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:46:03.113734 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/45/image_15042025_03_45_53_5931.jpg', 2), ('/home/nano/Desktop/images/15042025/03/45/image_15042025_03_45_47_5950.jpg', 2), ('/home/nano/Desktop/images/15042025/03/45/image_15042025_03_45_41_6153.jpg', 2), ('/home/nano/Desktop/images/15042025/03/45/image_15042025_03_45_35_6165.jpg', 2), ('/home/nano/Desktop/images/15042025/03/45/image_15042025_03_45_29_5915.jpg', 2), ('/home/nano/Desktop/images/15042025/03/45/image_15042025_03_45_23_5830.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:47:22.666940 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/47/image_15042025_03_47_53_5976.jpg', 2), ('/home/nano/Desktop/images/15042025/03/47/image_15042025_03_47_41_5875.jpg', 2), ('/home/nano/Desktop/images/15042025/03/47/image_15042025_03_47_35_6821.jpg', 2), ('/home/nano/Desktop/images/15042025/03/47/image_15042025_03_47_29_5755.jpg', 2), ('/home/nano/Desktop/images/15042025/03/47/image_15042025_03_47_23_5890.jpg', 2), ('/home/nano/Desktop/images/15042025/03/47/image_15042025_03_47_17_5865.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:48:41.791337 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_59_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_23_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_17_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_11_6707.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_05_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/03/47/image_15042025_03_47_59_5715.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:50:02.729047 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_59_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_23_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_17_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_11_6707.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_05_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/03/47/image_15042025_03_47_59_5715.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:51:22.125504 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_59_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_23_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_17_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_11_6707.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_05_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/03/47/image_15042025_03_47_59_5715.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:52:42.375999 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_59_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_23_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_17_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_11_6707.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_05_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/03/47/image_15042025_03_47_59_5715.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:54:03.277950 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/53/image_15042025_03_53_59_6003.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_59_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_23_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_17_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_11_6707.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_05_5654.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:55:21.819694 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/53/image_15042025_03_53_59_6003.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_59_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_23_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_17_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_11_6707.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_05_5654.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:56:41.922050 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/53/image_15042025_03_53_59_6003.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_59_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_23_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_17_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_11_6707.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_05_5654.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:58:02.576483 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/53/image_15042025_03_53_59_6003.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_59_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_23_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_17_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_11_6707.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_05_5654.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 03:59:22.069879 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/58/image_15042025_03_58_59_6128.jpg', 2), ('/home/nano/Desktop/images/15042025/03/53/image_15042025_03_53_59_6003.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_59_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_23_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_17_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_11_6707.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:00:42.307033 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/58/image_15042025_03_58_59_6128.jpg', 2), ('/home/nano/Desktop/images/15042025/03/53/image_15042025_03_53_59_6003.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_59_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_23_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_17_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_11_6707.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:02:03.307231 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/03/58/image_15042025_03_58_59_6128.jpg', 2), ('/home/nano/Desktop/images/15042025/03/53/image_15042025_03_53_59_6003.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_59_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_23_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_17_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_11_6707.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:03:22.693824 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/03/image_15042025_04_03_59_5746.jpg', 2), ('/home/nano/Desktop/images/15042025/03/58/image_15042025_03_58_59_6128.jpg', 2), ('/home/nano/Desktop/images/15042025/03/53/image_15042025_03_53_59_6003.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_59_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_23_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_17_5639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:04:41.804404 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/03/image_15042025_04_03_59_5746.jpg', 2), ('/home/nano/Desktop/images/15042025/03/58/image_15042025_03_58_59_6128.jpg', 2), ('/home/nano/Desktop/images/15042025/03/53/image_15042025_03_53_59_6003.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_59_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_23_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_17_5639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:06:02.632568 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/03/image_15042025_04_03_59_5746.jpg', 2), ('/home/nano/Desktop/images/15042025/03/58/image_15042025_03_58_59_6128.jpg', 2), ('/home/nano/Desktop/images/15042025/03/53/image_15042025_03_53_59_6003.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_59_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_23_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_17_5639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:07:22.156600 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/03/image_15042025_04_03_59_5746.jpg', 2), ('/home/nano/Desktop/images/15042025/03/58/image_15042025_03_58_59_6128.jpg', 2), ('/home/nano/Desktop/images/15042025/03/53/image_15042025_03_53_59_6003.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_59_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_23_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_17_5639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:08:42.272402 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/08/image_15042025_04_08_59_5802.jpg', 2), ('/home/nano/Desktop/images/15042025/04/03/image_15042025_04_03_59_5746.jpg', 2), ('/home/nano/Desktop/images/15042025/03/58/image_15042025_03_58_59_6128.jpg', 2), ('/home/nano/Desktop/images/15042025/03/53/image_15042025_03_53_59_6003.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_59_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/03/48/image_15042025_03_48_23_5640.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:10:03.124678 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/09/image_15042025_04_09_53_5619.jpg', 2), ('/home/nano/Desktop/images/15042025/04/09/image_15042025_04_09_47_6646.jpg', 2), ('/home/nano/Desktop/images/15042025/04/09/image_15042025_04_09_41_5663.jpg', 2), ('/home/nano/Desktop/images/15042025/04/09/image_15042025_04_09_35_5655.jpg', 2), ('/home/nano/Desktop/images/15042025/04/09/image_15042025_04_09_29_6620.jpg', 2), ('/home/nano/Desktop/images/15042025/04/09/image_15042025_04_09_23_5647.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:11:22.661056 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/11/image_15042025_04_11_53_6690.jpg', 2), ('/home/nano/Desktop/images/15042025/04/11/image_15042025_04_11_46_5771.jpg', 2), ('/home/nano/Desktop/images/15042025/04/11/image_15042025_04_11_41_5971.jpg', 2), ('/home/nano/Desktop/images/15042025/04/11/image_15042025_04_11_35_6084.jpg', 2), ('/home/nano/Desktop/images/15042025/04/11/image_15042025_04_11_29_5971.jpg', 2), ('/home/nano/Desktop/images/15042025/04/11/image_15042025_04_11_23_5737.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:12:41.827433 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/12/image_15042025_04_12_53_5712.jpg', 2), ('/home/nano/Desktop/images/15042025/04/12/image_15042025_04_12_47_5735.jpg', 2), ('/home/nano/Desktop/images/15042025/04/12/image_15042025_04_12_41_6127.jpg', 2), ('/home/nano/Desktop/images/15042025/04/12/image_15042025_04_12_35_5807.jpg', 2), ('/home/nano/Desktop/images/15042025/04/12/image_15042025_04_12_29_6760.jpg', 2), ('/home/nano/Desktop/images/15042025/04/12/image_15042025_04_12_22_5732.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:14:02.779967 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/13/image_15042025_04_13_59_5756.jpg', 2), ('/home/nano/Desktop/images/15042025/04/13/image_15042025_04_13_47_5929.jpg', 2), ('/home/nano/Desktop/images/15042025/04/13/image_15042025_04_13_41_6163.jpg', 2), ('/home/nano/Desktop/images/15042025/04/13/image_15042025_04_13_29_5742.jpg', 2), ('/home/nano/Desktop/images/15042025/04/13/image_15042025_04_13_23_6136.jpg', 2), ('/home/nano/Desktop/images/15042025/04/13/image_15042025_04_13_17_6139.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:15:22.184341 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/15/image_15042025_04_15_47_5789.jpg', 2), ('/home/nano/Desktop/images/15042025/04/15/image_15042025_04_15_41_5811.jpg', 2), ('/home/nano/Desktop/images/15042025/04/15/image_15042025_04_15_35_6165.jpg', 2), ('/home/nano/Desktop/images/15042025/04/15/image_15042025_04_15_29_5915.jpg', 2), ('/home/nano/Desktop/images/15042025/04/15/image_15042025_04_15_23_5801.jpg', 2), ('/home/nano/Desktop/images/15042025/04/15/image_15042025_04_15_17_6066.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:16:42.263007 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_47_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_41_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_35_5702.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_29_5736.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_23_6116.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_05_6157.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:18:03.025630 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_47_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_41_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_35_5702.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_29_5736.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_23_6116.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:19:22.706964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_47_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_41_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_35_5702.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_29_5736.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:20:41.836818 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_47_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_41_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_35_5702.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_29_5736.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:22:02.682318 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_47_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_41_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_35_5702.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_29_5736.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:23:22.200242 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_47_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_41_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_35_5702.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:24:42.303061 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_47_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_41_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_35_5702.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:26:03.250954 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_47_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_41_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_35_5702.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:27:22.695733 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_47_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_41_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_35_5702.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:28:41.830051 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_47_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_41_6634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:30:02.785276 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_47_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_41_6634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:31:22.199291 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_47_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_41_6634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:32:42.306115 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_47_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_41_6634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:34:03.390082 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_47_5662.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:35:22.648521 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_47_5662.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:36:41.834508 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_47_5662.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:38:02.698979 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:39:22.199300 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:40:42.375379 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:42:03.247779 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/04/16/image_15042025_04_16_59_6662.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:43:22.852512 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/43/image_15042025_04_43_59_6095.jpg', 2), ('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:44:41.899462 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/43/image_15042025_04_43_59_6095.jpg', 2), ('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:46:02.671237 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/43/image_15042025_04_43_59_6095.jpg', 2), ('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:47:22.249709 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/43/image_15042025_04_43_59_6095.jpg', 2), ('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2), ('/home/nano/Desktop/images/15042025/04/18/image_15042025_04_18_59_6104.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:48:42.440984 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/48/image_15042025_04_48_59_6100.jpg', 2), ('/home/nano/Desktop/images/15042025/04/43/image_15042025_04_43_59_6095.jpg', 2), ('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:50:03.260431 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/48/image_15042025_04_48_59_6100.jpg', 2), ('/home/nano/Desktop/images/15042025/04/43/image_15042025_04_43_59_6095.jpg', 2), ('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:51:22.754491 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/48/image_15042025_04_48_59_6100.jpg', 2), ('/home/nano/Desktop/images/15042025/04/43/image_15042025_04_43_59_6095.jpg', 2), ('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:52:41.882421 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/48/image_15042025_04_48_59_6100.jpg', 2), ('/home/nano/Desktop/images/15042025/04/43/image_15042025_04_43_59_6095.jpg', 2), ('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/04/23/image_15042025_04_23_59_6110.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:54:02.783300 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/53/image_15042025_04_53_59_6116.jpg', 2), ('/home/nano/Desktop/images/15042025/04/48/image_15042025_04_48_59_6100.jpg', 2), ('/home/nano/Desktop/images/15042025/04/43/image_15042025_04_43_59_6095.jpg', 2), ('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:55:22.228012 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/53/image_15042025_04_53_59_6116.jpg', 2), ('/home/nano/Desktop/images/15042025/04/48/image_15042025_04_48_59_6100.jpg', 2), ('/home/nano/Desktop/images/15042025/04/43/image_15042025_04_43_59_6095.jpg', 2), ('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:56:42.318885 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/53/image_15042025_04_53_59_6116.jpg', 2), ('/home/nano/Desktop/images/15042025/04/48/image_15042025_04_48_59_6100.jpg', 2), ('/home/nano/Desktop/images/15042025/04/43/image_15042025_04_43_59_6095.jpg', 2), ('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/04/28/image_15042025_04_28_59_6098.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:58:03.329174 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/58/image_15042025_04_58_59_6105.jpg', 2), ('/home/nano/Desktop/images/15042025/04/53/image_15042025_04_53_59_6116.jpg', 2), ('/home/nano/Desktop/images/15042025/04/48/image_15042025_04_48_59_6100.jpg', 2), ('/home/nano/Desktop/images/15042025/04/43/image_15042025_04_43_59_6095.jpg', 2), ('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 04:59:22.001573 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/58/image_15042025_04_58_59_6105.jpg', 2), ('/home/nano/Desktop/images/15042025/04/53/image_15042025_04_53_59_6116.jpg', 2), ('/home/nano/Desktop/images/15042025/04/48/image_15042025_04_48_59_6100.jpg', 2), ('/home/nano/Desktop/images/15042025/04/43/image_15042025_04_43_59_6095.jpg', 2), ('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:00:42.189437 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/58/image_15042025_04_58_59_6105.jpg', 2), ('/home/nano/Desktop/images/15042025/04/53/image_15042025_04_53_59_6116.jpg', 2), ('/home/nano/Desktop/images/15042025/04/48/image_15042025_04_48_59_6100.jpg', 2), ('/home/nano/Desktop/images/15042025/04/43/image_15042025_04_43_59_6095.jpg', 2), ('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:02:03.049278 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/04/58/image_15042025_04_58_59_6105.jpg', 2), ('/home/nano/Desktop/images/15042025/04/53/image_15042025_04_53_59_6116.jpg', 2), ('/home/nano/Desktop/images/15042025/04/48/image_15042025_04_48_59_6100.jpg', 2), ('/home/nano/Desktop/images/15042025/04/43/image_15042025_04_43_59_6095.jpg', 2), ('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/04/33/image_15042025_04_33_59_6109.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:03:22.577099 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/03/image_15042025_05_03_59_6686.jpg', 2), ('/home/nano/Desktop/images/15042025/04/58/image_15042025_04_58_59_6105.jpg', 2), ('/home/nano/Desktop/images/15042025/04/53/image_15042025_04_53_59_6116.jpg', 2), ('/home/nano/Desktop/images/15042025/04/48/image_15042025_04_48_59_6100.jpg', 2), ('/home/nano/Desktop/images/15042025/04/43/image_15042025_04_43_59_6095.jpg', 2), ('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:04:42.683330 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/03/image_15042025_05_03_59_6686.jpg', 2), ('/home/nano/Desktop/images/15042025/04/58/image_15042025_04_58_59_6105.jpg', 2), ('/home/nano/Desktop/images/15042025/04/53/image_15042025_04_53_59_6116.jpg', 2), ('/home/nano/Desktop/images/15042025/04/48/image_15042025_04_48_59_6100.jpg', 2), ('/home/nano/Desktop/images/15042025/04/43/image_15042025_04_43_59_6095.jpg', 2), ('/home/nano/Desktop/images/15042025/04/38/image_15042025_04_38_59_6103.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:06:02.535554 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/05/image_15042025_05_05_53_5613.jpg', 2), ('/home/nano/Desktop/images/15042025/05/05/image_15042025_05_05_47_5610.jpg', 2), ('/home/nano/Desktop/images/15042025/05/05/image_15042025_05_05_41_6635.jpg', 2), ('/home/nano/Desktop/images/15042025/05/05/image_15042025_05_05_35_5602.jpg', 2), ('/home/nano/Desktop/images/15042025/05/05/image_15042025_05_05_29_6627.jpg', 2), ('/home/nano/Desktop/images/15042025/05/05/image_15042025_05_05_23_5665.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:07:22.039282 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/07/image_15042025_05_07_47_5815.jpg', 2), ('/home/nano/Desktop/images/15042025/05/07/image_15042025_05_07_41_5944.jpg', 2), ('/home/nano/Desktop/images/15042025/05/07/image_15042025_05_07_35_5855.jpg', 2), ('/home/nano/Desktop/images/15042025/05/07/image_15042025_05_07_29_5836.jpg', 2), ('/home/nano/Desktop/images/15042025/05/07/image_15042025_05_07_23_6846.jpg', 2), ('/home/nano/Desktop/images/15042025/05/07/image_15042025_05_07_17_5830.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:08:42.209650 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/08/image_15042025_05_08_59_6189.jpg', 2), ('/home/nano/Desktop/images/15042025/05/08/image_15042025_05_08_41_6805.jpg', 2), ('/home/nano/Desktop/images/15042025/05/08/image_15042025_05_08_35_5863.jpg', 2), ('/home/nano/Desktop/images/15042025/05/08/image_15042025_05_08_29_5823.jpg', 2), ('/home/nano/Desktop/images/15042025/05/08/image_15042025_05_08_23_5896.jpg', 2), ('/home/nano/Desktop/images/15042025/05/08/image_15042025_05_08_17_5882.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:10:02.924549 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/09/image_15042025_05_09_53_6630.jpg', 2), ('/home/nano/Desktop/images/15042025/05/09/image_15042025_05_09_47_5665.jpg', 2), ('/home/nano/Desktop/images/15042025/05/09/image_15042025_05_09_41_6017.jpg', 2), ('/home/nano/Desktop/images/15042025/05/09/image_15042025_05_09_29_5796.jpg', 2), ('/home/nano/Desktop/images/15042025/05/09/image_15042025_05_09_23_5879.jpg', 2), ('/home/nano/Desktop/images/15042025/05/09/image_15042025_05_09_17_6820.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:11:22.561174 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/11/image_15042025_05_11_53_6734.jpg', 2), ('/home/nano/Desktop/images/15042025/05/10/image_15042025_05_10_22_5691.jpg', 2), ('/home/nano/Desktop/images/15042025/05/10/image_15042025_05_10_17_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/05/10/image_15042025_05_10_11_6679.jpg', 2), ('/home/nano/Desktop/images/15042025/05/10/image_15042025_05_10_04_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/05/09/image_15042025_05_09_59_5617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:12:42.701434 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/12/image_15042025_05_12_53_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/05/12/image_15042025_05_12_47_6623.jpg', 2), ('/home/nano/Desktop/images/15042025/05/12/image_15042025_05_12_41_5657.jpg', 2), ('/home/nano/Desktop/images/15042025/05/12/image_15042025_05_12_35_5697.jpg', 2), ('/home/nano/Desktop/images/15042025/05/12/image_15042025_05_12_29_6617.jpg', 2), ('/home/nano/Desktop/images/15042025/05/12/image_15042025_05_12_23_5634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:14:02.700131 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/13/image_15042025_05_13_59_5623.jpg', 2), ('/home/nano/Desktop/images/15042025/05/13/image_15042025_05_13_47_5628.jpg', 2), ('/home/nano/Desktop/images/15042025/05/13/image_15042025_05_13_41_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/05/13/image_15042025_05_13_35_6661.jpg', 2), ('/home/nano/Desktop/images/15042025/05/13/image_15042025_05_13_29_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/05/13/image_15042025_05_13_23_5627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:15:22.072318 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/15/image_15042025_05_15_53_5771.jpg', 2), ('/home/nano/Desktop/images/15042025/05/15/image_15042025_05_15_47_5744.jpg', 2), ('/home/nano/Desktop/images/15042025/05/15/image_15042025_05_15_41_6827.jpg', 2), ('/home/nano/Desktop/images/15042025/05/15/image_15042025_05_15_34_5851.jpg', 2), ('/home/nano/Desktop/images/15042025/05/15/image_15042025_05_15_29_6022.jpg', 2), ('/home/nano/Desktop/images/15042025/05/15/image_15042025_05_15_17_5763.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:16:42.251611 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/16/image_15042025_05_16_53_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/05/16/image_15042025_05_16_47_5650.jpg', 2), ('/home/nano/Desktop/images/15042025/05/16/image_15042025_05_16_41_6763.jpg', 2), ('/home/nano/Desktop/images/15042025/05/16/image_15042025_05_16_35_5672.jpg', 2), ('/home/nano/Desktop/images/15042025/05/16/image_15042025_05_16_29_5666.jpg', 2), ('/home/nano/Desktop/images/15042025/05/16/image_15042025_05_16_23_5838.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:18:03.083434 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/17/image_15042025_05_17_47_6684.jpg', 2), ('/home/nano/Desktop/images/15042025/05/17/image_15042025_05_17_41_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/05/17/image_15042025_05_17_35_5593.jpg', 2), ('/home/nano/Desktop/images/15042025/05/17/image_15042025_05_17_29_6654.jpg', 2), ('/home/nano/Desktop/images/15042025/05/17/image_15042025_05_17_23_5610.jpg', 2), ('/home/nano/Desktop/images/15042025/05/17/image_15042025_05_17_17_6617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:19:22.650521 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/19/image_15042025_05_19_47_5753.jpg', 2), ('/home/nano/Desktop/images/15042025/05/19/image_15042025_05_19_41_5779.jpg', 2), ('/home/nano/Desktop/images/15042025/05/19/image_15042025_05_19_35_5790.jpg', 2), ('/home/nano/Desktop/images/15042025/05/19/image_15042025_05_19_29_6804.jpg', 2), ('/home/nano/Desktop/images/15042025/05/19/image_15042025_05_19_23_6004.jpg', 2), ('/home/nano/Desktop/images/15042025/05/19/image_15042025_05_19_11_5815.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:20:42.737558 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/20/image_15042025_05_20_53_5834.jpg', 2), ('/home/nano/Desktop/images/15042025/05/20/image_15042025_05_20_47_6703.jpg', 2), ('/home/nano/Desktop/images/15042025/05/20/image_15042025_05_20_41_6013.jpg', 2), ('/home/nano/Desktop/images/15042025/05/20/image_15042025_05_20_29_5723.jpg', 2), ('/home/nano/Desktop/images/15042025/05/20/image_15042025_05_20_23_5810.jpg', 2), ('/home/nano/Desktop/images/15042025/05/20/image_15042025_05_20_17_5814.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:22:02.504616 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/21/image_15042025_05_21_53_5668.jpg', 2), ('/home/nano/Desktop/images/15042025/05/21/image_15042025_05_21_47_6650.jpg', 2), ('/home/nano/Desktop/images/15042025/05/21/image_15042025_05_21_41_5687.jpg', 2), ('/home/nano/Desktop/images/15042025/05/21/image_15042025_05_21_35_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/05/21/image_15042025_05_21_29_6657.jpg', 2), ('/home/nano/Desktop/images/15042025/05/21/image_15042025_05_21_23_5627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:23:22.169568 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_59_5920.jpg', 2), ('/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_47_5862.jpg', 2), ('/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_41_5882.jpg', 2), ('/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_35_6770.jpg', 2), ('/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_29_5715.jpg', 2), ('/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_23_5638.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:24:42.279832 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_53_5911.jpg', 2), ('/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_47_6910.jpg', 2), ('/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_40_5867.jpg', 2), ('/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_35_5975.jpg', 2), ('/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_29_5876.jpg', 2), ('/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_23_5877.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:26:03.144625 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_53_6637.jpg', 2), ('/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_47_5655.jpg', 2), ('/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_41_5636.jpg', 2), ('/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_35_6823.jpg', 2), ('/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_29_5865.jpg', 2), ('/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_23_5888.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:27:22.629409 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_52_5701.jpg', 2), ('/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_47_5610.jpg', 2), ('/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_41_6665.jpg', 2), ('/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_35_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_29_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_23_6648.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:28:42.741707 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_59_6006.jpg', 2), ('/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_47_6810.jpg', 2), ('/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_41_5896.jpg', 2), ('/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_35_5851.jpg', 2), ('/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_29_5882.jpg', 2), ('/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_23_5776.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:30:02.641596 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_53_5852.jpg', 2), ('/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_47_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_35_5838.jpg', 2), ('/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_29_6843.jpg', 2), ('/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_23_5776.jpg', 2), ('/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_17_5795.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:31:22.149333 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_53_5607.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_47_6681.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_29_5695.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_23_6818.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_17_5876.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_11_5927.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:32:42.291171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/32/image_15042025_05_32_05_6717.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_59_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_53_5607.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_47_6681.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_29_5695.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_23_6818.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:34:03.470243 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/33/image_15042025_05_33_59_6032.jpg', 2), ('/home/nano/Desktop/images/15042025/05/32/image_15042025_05_32_05_6717.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_59_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_53_5607.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_47_6681.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_29_5695.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:35:22.632881 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/33/image_15042025_05_33_59_6032.jpg', 2), ('/home/nano/Desktop/images/15042025/05/32/image_15042025_05_32_05_6717.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_59_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_53_5607.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_47_6681.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_29_5695.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:36:42.735696 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/33/image_15042025_05_33_59_6032.jpg', 2), ('/home/nano/Desktop/images/15042025/05/32/image_15042025_05_32_05_6717.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_59_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_53_5607.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_47_6681.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_29_5695.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:38:02.593118 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/38/image_15042025_05_38_59_5973.jpg', 2), ('/home/nano/Desktop/images/15042025/05/33/image_15042025_05_33_59_6032.jpg', 2), ('/home/nano/Desktop/images/15042025/05/32/image_15042025_05_32_05_6717.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_59_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_53_5607.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_47_6681.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:39:22.093237 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/38/image_15042025_05_38_59_5973.jpg', 2), ('/home/nano/Desktop/images/15042025/05/33/image_15042025_05_33_59_6032.jpg', 2), ('/home/nano/Desktop/images/15042025/05/32/image_15042025_05_32_05_6717.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_59_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_53_5607.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_47_6681.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:40:42.259910 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/38/image_15042025_05_38_59_5973.jpg', 2), ('/home/nano/Desktop/images/15042025/05/33/image_15042025_05_33_59_6032.jpg', 2), ('/home/nano/Desktop/images/15042025/05/32/image_15042025_05_32_05_6717.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_59_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_53_5607.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_47_6681.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:42:03.111424 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/38/image_15042025_05_38_59_5973.jpg', 2), ('/home/nano/Desktop/images/15042025/05/33/image_15042025_05_33_59_6032.jpg', 2), ('/home/nano/Desktop/images/15042025/05/32/image_15042025_05_32_05_6717.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_59_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_53_5607.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_47_6681.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:43:22.599734 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/43/image_15042025_05_43_59_5861.jpg', 2), ('/home/nano/Desktop/images/15042025/05/38/image_15042025_05_38_59_5973.jpg', 2), ('/home/nano/Desktop/images/15042025/05/33/image_15042025_05_33_59_6032.jpg', 2), ('/home/nano/Desktop/images/15042025/05/32/image_15042025_05_32_05_6717.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_59_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_53_5607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:44:42.753881 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/43/image_15042025_05_43_59_5861.jpg', 2), ('/home/nano/Desktop/images/15042025/05/38/image_15042025_05_38_59_5973.jpg', 2), ('/home/nano/Desktop/images/15042025/05/33/image_15042025_05_33_59_6032.jpg', 2), ('/home/nano/Desktop/images/15042025/05/32/image_15042025_05_32_05_6717.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_59_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_53_5607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:46:02.674290 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/43/image_15042025_05_43_59_5861.jpg', 2), ('/home/nano/Desktop/images/15042025/05/38/image_15042025_05_38_59_5973.jpg', 2), ('/home/nano/Desktop/images/15042025/05/33/image_15042025_05_33_59_6032.jpg', 2), ('/home/nano/Desktop/images/15042025/05/32/image_15042025_05_32_05_6717.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_59_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_53_5607.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:47:22.100949 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_53_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_47_5625.jpg', 2), ('/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_41_6682.jpg', 2), ('/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_35_5616.jpg', 2), ('/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_29_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_23_6702.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:48:42.349035 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_59_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_47_6678.jpg', 2), ('/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_41_5608.jpg', 2), ('/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_35_5623.jpg', 2), ('/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_29_6618.jpg', 2), ('/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_17_6613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:50:03.264421 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_53_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_47_5679.jpg', 2), ('/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_41_6724.jpg', 2), ('/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_35_5665.jpg', 2), ('/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_29_5634.jpg', 2), ('/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_23_6655.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:51:21.815596 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_53_5772.jpg', 2), ('/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_47_5854.jpg', 2), ('/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_41_6854.jpg', 2), ('/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_35_5865.jpg', 2), ('/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_29_5741.jpg', 2), ('/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_23_5858.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:52:41.959355 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_52_5607.jpg', 2), ('/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_47_5609.jpg', 2), ('/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_41_6606.jpg', 2), ('/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_35_5610.jpg', 2), ('/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_29_5661.jpg', 2), ('/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_23_6621.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:54:02.916400 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_59_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_47_6658.jpg', 2), ('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_29_6646.jpg', 2), ('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_23_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_17_6648.jpg', 2), ('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_10_5659.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:55:22.412283 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_53_6715.jpg', 2), ('/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_46_5658.jpg', 2), ('/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_41_5701.jpg', 2), ('/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_35_5681.jpg', 2), ('/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_29_6681.jpg', 2), ('/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_23_5692.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:56:42.416084 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_53_6690.jpg', 2), ('/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_47_5725.jpg', 2), ('/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_41_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_35_6731.jpg', 2), ('/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_28_5673.jpg', 2), ('/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_23_5707.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 05:59:02.879073 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_58_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_47_6620.jpg', 2), ('/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_41_5653.jpg', 2), ('/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_35_5624.jpg', 2), ('/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_29_6623.jpg', 2), ('/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_23_5640.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:00:22.271394 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_53_5813.jpg', 2), ('/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_47_5805.jpg', 2), ('/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_41_6849.jpg', 2), ('/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_34_5846.jpg', 2), ('/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_29_5820.jpg', 2), ('/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_23_5630.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:01:42.311692 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_53_5803.jpg', 2), ('/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_47_5874.jpg', 2), ('/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_41_5776.jpg', 2), ('/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_35_5818.jpg', 2), ('/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_29_5893.jpg', 2), ('/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_17_5888.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:03:03.174935 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_53_6192.jpg', 2), ('/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_41_5870.jpg', 2), ('/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_35_5895.jpg', 2), ('/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_29_5758.jpg', 2), ('/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_23_6830.jpg', 2), ('/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_17_5875.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:04:22.701640 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/04/image_15042025_06_04_05_6638.jpg', 2), ('/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_59_5617.jpg', 2), ('/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_53_6642.jpg', 2), ('/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_46_5610.jpg', 2), ('/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_41_5683.jpg', 2), ('/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_35_5822.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:05:41.867811 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/05/image_15042025_06_05_53_6626.jpg', 2), ('/home/nano/Desktop/images/15042025/06/05/image_15042025_06_05_47_5601.jpg', 2), ('/home/nano/Desktop/images/15042025/06/05/image_15042025_06_05_41_5739.jpg', 2), ('/home/nano/Desktop/images/15042025/06/04/image_15042025_06_04_11_5644.jpg', 2), ('/home/nano/Desktop/images/15042025/06/04/image_15042025_06_04_05_6638.jpg', 2), ('/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_59_5617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:07:02.659030 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_53_5688.jpg', 2), ('/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_47_6798.jpg', 2), ('/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_41_5709.jpg', 2), ('/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_35_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_29_6677.jpg', 2), ('/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_23_5645.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:08:22.237250 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_59_5720.jpg', 2), ('/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_47_6143.jpg', 2), ('/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_35_5765.jpg', 2), ('/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_29_5770.jpg', 2), ('/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_23_6726.jpg', 2), ('/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_17_5704.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:09:42.364095 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_53_6789.jpg', 2), ('/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_46_5761.jpg', 2), ('/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_41_6081.jpg', 2), ('/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_29_5737.jpg', 2), ('/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_23_5863.jpg', 2), ('/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_11_6771.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:11:03.113404 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_53_5805.jpg', 2), ('/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_47_5737.jpg', 2), ('/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_41_5785.jpg', 2), ('/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_29_6785.jpg', 2), ('/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_22_5773.jpg', 2), ('/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_17_5933.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:12:22.771963 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_53_6620.jpg', 2), ('/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_41_6616.jpg', 2), ('/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_35_5965.jpg', 2), ('/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_29_5714.jpg', 2), ('/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_23_5658.jpg', 2), ('/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_17_5823.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:13:41.855902 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_59_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_47_6747.jpg', 2), ('/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_41_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_29_6672.jpg', 2), ('/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_23_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_17_5642.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:15:02.661315 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_53_5631.jpg', 2), ('/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_47_5666.jpg', 2), ('/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_41_6645.jpg', 2), ('/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_35_5728.jpg', 2), ('/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_29_5645.jpg', 2), ('/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_23_6683.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:16:22.261739 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_53_6873.jpg', 2), ('/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_47_5800.jpg', 2), ('/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_41_5866.jpg', 2), ('/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_35_5798.jpg', 2), ('/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_29_5704.jpg', 2), ('/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_23_6915.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:17:42.397813 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_53_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_47_6672.jpg', 2), ('/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_35_5680.jpg', 2), ('/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_29_6635.jpg', 2), ('/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_23_5636.jpg', 2), ('/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_17_5657.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:19:03.565339 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_59_6719.jpg', 2), ('/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_47_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_41_6669.jpg', 2), ('/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_29_5651.jpg', 2), ('/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_23_6675.jpg', 2), ('/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_17_5649.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:20:21.836448 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_53_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_47_5609.jpg', 2), ('/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_41_6675.jpg', 2), ('/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_35_5702.jpg', 2), ('/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_29_5837.jpg', 2), ('/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_23_6108.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:21:41.956467 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_47_6676.jpg', 2), ('/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_41_5695.jpg', 2), ('/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_35_5624.jpg', 2), ('/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_29_6645.jpg', 2), ('/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_23_6055.jpg', 2), ('/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_05_5666.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:23:03.056066 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_59_5618.jpg', 2), ('/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_53_5882.jpg', 2), ('/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_47_5995.jpg', 2), ('/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_41_6821.jpg', 2), ('/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_34_5627.jpg', 2), ('/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_23_6690.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:24:22.450228 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_53_6651.jpg', 2), ('/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_46_5636.jpg', 2), ('/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_41_5620.jpg', 2), ('/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_35_6650.jpg', 2), ('/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_29_5905.jpg', 2), ('/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_11_5668.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:25:42.599085 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_53_5757.jpg', 2), ('/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_47_5625.jpg', 2), ('/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_41_6643.jpg', 2), ('/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_35_5657.jpg', 2), ('/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_29_5625.jpg', 2), ('/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_23_6693.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:27:02.393804 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_53_6023.jpg', 2), ('/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_35_5767.jpg', 2), ('/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_29_6784.jpg', 2), ('/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_23_5785.jpg', 2), ('/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_17_5832.jpg', 2), ('/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_11_5813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:28:22.003889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_59_6630.jpg', 2), ('/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_47_5810.jpg', 2), ('/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_35_6752.jpg', 2), ('/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_28_5722.jpg', 2), ('/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_23_5744.jpg', 2), ('/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_17_5926.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:29:42.141618 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_53_5664.jpg', 2), ('/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_47_6670.jpg', 2), ('/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_41_5611.jpg', 2), ('/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_29_6643.jpg', 2), ('/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_23_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_17_6653.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:31:03.051440 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_52_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_47_5690.jpg', 2), ('/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_41_6694.jpg', 2), ('/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_34_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_29_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_23_6659.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:32:22.476139 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_53_5788.jpg', 2), ('/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_47_5832.jpg', 2), ('/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_41_6821.jpg', 2), ('/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_34_5819.jpg', 2), ('/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_29_6105.jpg', 2), ('/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_23_5897.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:33:42.718562 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_59_5882.jpg', 2), ('/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_41_5773.jpg', 2), ('/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_35_5828.jpg', 2), ('/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_29_5791.jpg', 2), ('/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_23_6781.jpg', 2), ('/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_17_5980.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:35:02.314761 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_47_6825.jpg', 2), ('/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_41_5769.jpg', 2), ('/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_35_5810.jpg', 2), ('/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_29_5953.jpg', 2), ('/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_17_5785.jpg', 2), ('/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_11_5786.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:36:22.063857 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_29_6627.jpg', 2), ('/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_23_5604.jpg', 2), ('/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_17_6672.jpg', 2), ('/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_11_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_05_5927.jpg', 2), ('/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_53_5647.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:37:42.214204 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_29_6627.jpg', 2), ('/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_23_5604.jpg', 2), ('/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_17_6672.jpg', 2), ('/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_11_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_05_5927.jpg', 2), ('/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_53_5647.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:39:03.405624 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_59_5645.jpg', 2), ('/home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_47_5614.jpg', 2), ('/home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_41_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_35_6029.jpg', 2), ('/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_35_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_29_6627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:40:22.575364 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_53_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_47_6651.jpg', 2), ('/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_41_5625.jpg', 2), ('/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_35_6637.jpg', 2), ('/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_28_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_17_6643.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:41:42.716284 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_53_5823.jpg', 2), ('/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_47_5803.jpg', 2), ('/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_41_5750.jpg', 2), ('/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_35_6719.jpg', 2), ('/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_29_5771.jpg', 2), ('/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_23_5750.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:43:02.545083 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_53_5784.jpg', 2), ('/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_47_5859.jpg', 2), ('/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_41_5794.jpg', 2), ('/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_35_6818.jpg', 2), ('/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_29_5867.jpg', 2), ('/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_23_5736.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:44:22.087235 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_53_5602.jpg', 2), ('/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_47_6661.jpg', 2), ('/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_41_5754.jpg', 2), ('/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_29_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_23_5620.jpg', 2), ('/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_17_5656.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:45:42.253253 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_53_5780.jpg', 2), ('/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_47_5782.jpg', 2), ('/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_41_6880.jpg', 2), ('/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_34_5890.jpg', 2), ('/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_29_5849.jpg', 2), ('/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_23_5810.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:47:03.020681 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_41_5832.jpg', 2), ('/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_35_5896.jpg', 2), ('/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_29_6847.jpg', 2), ('/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_23_5826.jpg', 2), ('/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_17_5861.jpg', 2), ('/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_11_5948.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:48:22.601977 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_59_6642.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_41_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_35_6779.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_28_5782.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_23_5984.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_17_6102.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:49:42.747034 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_23_5605.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_17_5692.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_11_6641.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_05_5615.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_59_6642.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_47_5653.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:51:02.418793 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_23_5605.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_17_5692.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_11_6641.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_05_5615.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_59_6642.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_47_5653.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:52:22.168234 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_23_5605.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_17_5692.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_11_6641.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_05_5615.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_59_6642.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_47_5653.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:53:42.248947 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/53/image_15042025_06_53_59_6806.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_23_5605.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_17_5692.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_11_6641.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_05_5615.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_59_6642.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:55:03.051941 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/53/image_15042025_06_53_59_6806.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_23_5605.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_17_5692.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_11_6641.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_05_5615.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_59_6642.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:56:22.652673 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/56/image_15042025_06_56_53_5611.jpg', 2), ('/home/nano/Desktop/images/15042025/06/56/image_15042025_06_56_47_5791.jpg', 2), ('/home/nano/Desktop/images/15042025/06/53/image_15042025_06_53_59_6806.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_29_6631.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_23_5605.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_17_5692.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:57:42.880317 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:58:02.677812 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_59_6651.jpg', 2), ('/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_53_6633.jpg', 2), ('/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_47_5653.jpg', 2), ('/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_41_5653.jpg', 2), ('/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_35_6689.jpg', 2), ('/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_23_5625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 06:59:21.981198 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_47_5952.jpg', 2), ('/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_41_5874.jpg', 2), ('/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_35_5813.jpg', 2), ('/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_29_5933.jpg', 2), ('/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_23_6828.jpg', 2), ('/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_17_5845.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:00:42.207463 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_47_5644.jpg', 2), ('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_41_5613.jpg', 2), ('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_35_6629.jpg', 2), ('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_29_5612.jpg', 2), ('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_23_6694.jpg', 2), ('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_16_5886.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:02:02.998433 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_47_5644.jpg', 2), ('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_41_5613.jpg', 2), ('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_35_6629.jpg', 2), ('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_29_5612.jpg', 2), ('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_23_6694.jpg', 2), ('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_16_5886.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:03:22.585671 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_59_6652.jpg', 2), ('/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_47_5645.jpg', 2), ('/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_41_6624.jpg', 2), ('/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_35_5676.jpg', 2), ('/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_29_5653.jpg', 2), ('/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_23_6663.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:04:42.721783 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_53_5772.jpg', 2), ('/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_47_6641.jpg', 2), ('/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_41_5665.jpg', 2), ('/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_35_5648.jpg', 2), ('/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_29_6652.jpg', 2), ('/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_23_5642.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:06:02.583209 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_53_5945.jpg', 2), ('/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_47_5932.jpg', 2), ('/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_35_6059.jpg', 2), ('/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_29_5739.jpg', 2), ('/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_23_6819.jpg', 2), ('/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_16_5870.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:07:22.155858 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_53_6704.jpg', 2), ('/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_47_5613.jpg', 2), ('/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_41_5606.jpg', 2), ('/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_35_6648.jpg', 2), ('/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_29_5623.jpg', 2), ('/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_23_6634.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:08:42.303538 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_59_6708.jpg', 2), ('/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_47_5612.jpg', 2), ('/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_41_6635.jpg', 2), ('/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_35_5612.jpg', 2), ('/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_29_6654.jpg', 2), ('/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_22_5603.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:10:03.186525 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_53_6682.jpg', 2), ('/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_47_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_41_5645.jpg', 2), ('/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_35_6667.jpg', 2), ('/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_29_5718.jpg', 2), ('/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_23_5681.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:11:22.703248 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_53_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_47_6696.jpg', 2), ('/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_41_5664.jpg', 2), ('/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_35_5675.jpg', 2), ('/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_29_6687.jpg', 2), ('/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_23_5679.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:12:41.867166 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_41_6604.jpg', 2), ('/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_35_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_29_5686.jpg', 2), ('/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_23_6647.jpg', 2), ('/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_17_5650.jpg', 2), ('/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_11_5640.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:14:03.043376 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/13/image_15042025_07_13_59_5618.jpg', 2), ('/home/nano/Desktop/images/15042025/07/13/image_15042025_07_13_41_6693.jpg', 2), ('/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_47_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_41_6604.jpg', 2), ('/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_35_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_29_5686.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:15:22.256341 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_53_5787.jpg', 2), ('/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_47_6809.jpg', 2), ('/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_35_6835.jpg', 2), ('/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_29_5818.jpg', 2), ('/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_23_5760.jpg', 2), ('/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_17_5811.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:16:42.404051 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_53_5974.jpg', 2), ('/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_47_5961.jpg', 2), ('/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_41_5737.jpg', 2), ('/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_35_5811.jpg', 2), ('/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_29_6794.jpg', 2), ('/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_22_5740.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:18:03.192391 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_53_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_46_5763.jpg', 2), ('/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_41_5849.jpg', 2), ('/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_35_5783.jpg', 2), ('/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_29_5941.jpg', 2), ('/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_17_5898.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:19:21.882241 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_53_5618.jpg', 2), ('/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_47_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_41_6633.jpg', 2), ('/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_29_6685.jpg', 2), ('/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_22_5785.jpg', 2), ('/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_17_5862.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:20:41.943027 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_53_5591.jpg', 2), ('/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_47_6615.jpg', 2), ('/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_41_5615.jpg', 2), ('/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_35_6632.jpg', 2), ('/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_29_5658.jpg', 2), ('/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_23_5646.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:22:02.821068 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_53_5612.jpg', 2), ('/home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_47_6667.jpg', 2), ('/home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_41_5894.jpg', 2), ('/home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_05_6677.jpg', 2), ('/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_59_5631.jpg', 2), ('/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_53_5591.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:23:22.300974 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_59_5769.jpg', 2), ('/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_47_5836.jpg', 2), ('/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_35_5806.jpg', 2), ('/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_29_5747.jpg', 2), ('/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_23_5807.jpg', 2), ('/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_17_6777.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:24:42.474767 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_47_5783.jpg', 2), ('/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_41_5740.jpg', 2), ('/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_35_6739.jpg', 2), ('/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_28_5704.jpg', 2), ('/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_23_5777.jpg', 2), ('/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_17_6037.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:26:03.369782 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_53_6653.jpg', 2), ('/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_47_5616.jpg', 2), ('/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_41_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_35_6624.jpg', 2), ('/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_29_5623.jpg', 2), ('/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_23_6666.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:27:21.811744 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_53_6820.jpg', 2), ('/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_47_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_41_5686.jpg', 2), ('/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_35_6669.jpg', 2), ('/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_29_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_23_5666.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:28:41.960568 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_59_5901.jpg', 2), ('/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_47_5756.jpg', 2), ('/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_41_5737.jpg', 2), ('/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_35_5736.jpg', 2), ('/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_29_6850.jpg', 2), ('/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_22_5832.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:30:02.698600 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_53_5676.jpg', 2), ('/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_47_6685.jpg', 2), ('/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_41_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_35_5738.jpg', 2), ('/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_29_5879.jpg', 2), ('/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_23_6809.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:31:22.381001 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_53_5852.jpg', 2), ('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_47_5833.jpg', 2), ('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_41_5817.jpg', 2), ('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_35_6728.jpg', 2), ('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_29_5608.jpg', 2), ('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_23_6631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:32:42.480889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_53_5800.jpg', 2), ('/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_47_5878.jpg', 2), ('/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_41_5955.jpg', 2), ('/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_35_6080.jpg', 2), ('/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_23_5839.jpg', 2), ('/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_17_6905.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:34:03.511056 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_59_6156.jpg', 2), ('/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_47_5780.jpg', 2), ('/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_41_6846.jpg', 2), ('/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_34_5883.jpg', 2), ('/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_29_5840.jpg', 2), ('/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_23_5944.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:35:21.816220 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_53_6614.jpg', 2), ('/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_47_5645.jpg', 2), ('/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_41_5617.jpg', 2), ('/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_35_6636.jpg', 2), ('/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_29_5607.jpg', 2), ('/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_23_6639.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:36:41.971778 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_47_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_41_6661.jpg', 2), ('/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_35_5625.jpg', 2), ('/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_29_5644.jpg', 2), ('/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_23_6631.jpg', 2), ('/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_17_5641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:38:02.760481 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_53_5634.jpg', 2), ('/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_47_6638.jpg', 2), ('/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_41_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_35_6674.jpg', 2), ('/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_28_5648.jpg', 2), ('/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_23_5678.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:39:22.356580 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_47_5760.jpg', 2), ('/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_41_5811.jpg', 2), ('/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_35_5741.jpg', 2), ('/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_29_6839.jpg', 2), ('/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_17_5750.jpg', 2), ('/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_11_5824.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:40:42.468344 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_53_6739.jpg', 2), ('/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_47_5785.jpg', 2), ('/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_41_5842.jpg', 2), ('/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_35_5867.jpg', 2), ('/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_23_5785.jpg', 2), ('/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_17_6766.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:42:03.184483 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_35_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_29_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_23_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_17_6657.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_05_5700.jpg', 2), ('/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_59_5625.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:43:21.842635 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/43/image_15042025_07_43_59_5908.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_35_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_29_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_23_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_17_6657.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_05_5700.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:44:41.987341 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/43/image_15042025_07_43_59_5908.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_35_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_29_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_23_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_17_6657.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_05_5700.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:46:02.924600 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/43/image_15042025_07_43_59_5908.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_35_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_29_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_23_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_17_6657.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_05_5700.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:47:22.448458 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/43/image_15042025_07_43_59_5908.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_35_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_29_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_23_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_17_6657.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_05_5700.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:48:42.589025 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/48/image_15042025_07_48_59_5998.jpg', 2), ('/home/nano/Desktop/images/15042025/07/43/image_15042025_07_43_59_5908.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_35_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_29_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_23_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_17_6657.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:50:02.516489 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/48/image_15042025_07_48_59_5998.jpg', 2), ('/home/nano/Desktop/images/15042025/07/43/image_15042025_07_43_59_5908.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_35_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_29_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_23_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_17_6657.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:51:21.973258 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/48/image_15042025_07_48_59_5998.jpg', 2), ('/home/nano/Desktop/images/15042025/07/43/image_15042025_07_43_59_5908.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_35_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_29_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_23_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_17_6657.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:52:42.081769 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/48/image_15042025_07_48_59_5998.jpg', 2), ('/home/nano/Desktop/images/15042025/07/43/image_15042025_07_43_59_5908.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_35_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_29_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_23_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_17_6657.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:54:03.241083 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/53/image_15042025_07_53_59_5887.jpg', 2), ('/home/nano/Desktop/images/15042025/07/48/image_15042025_07_48_59_5998.jpg', 2), ('/home/nano/Desktop/images/15042025/07/43/image_15042025_07_43_59_5908.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_35_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_29_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_23_5646.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:55:22.455343 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/53/image_15042025_07_53_59_5887.jpg', 2), ('/home/nano/Desktop/images/15042025/07/48/image_15042025_07_48_59_5998.jpg', 2), ('/home/nano/Desktop/images/15042025/07/43/image_15042025_07_43_59_5908.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_41_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_35_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_29_5635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:56:42.593114 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/53/image_15042025_07_53_59_5887.jpg', 2), ('/home/nano/Desktop/images/15042025/07/48/image_15042025_07_48_59_5998.jpg', 2), ('/home/nano/Desktop/images/15042025/07/43/image_15042025_07_43_59_5908.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_41_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_35_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_29_5635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:58:02.482779 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_59_5597.jpg', 2), ('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_53_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_47_5634.jpg', 2), ('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_41_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_35_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_29_6641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 07:59:23.435937 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_59_5597.jpg', 2), ('/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_46_5631.jpg', 2), ('/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_41_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_35_6620.jpg', 2), ('/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_29_5625.jpg', 2), ('/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_23_5644.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:00:42.162328 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_53_6639.jpg', 2), ('/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_46_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_35_6678.jpg', 2), ('/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_29_5813.jpg', 2), ('/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_23_5736.jpg', 2), ('/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_17_5893.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:02:03.005250 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_53_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_47_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_41_6657.jpg', 2), ('/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_35_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_29_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_23_6671.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:03:22.523491 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_59_6833.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_47_5849.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_41_5822.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_35_5789.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_29_6730.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_23_5720.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:04:42.640249 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_53_5692.jpg', 2), ('/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_47_5984.jpg', 2), ('/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_41_5774.jpg', 2), ('/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_35_5856.jpg', 2), ('/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_29_6763.jpg', 2), ('/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_23_5789.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:06:02.490339 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_53_6640.jpg', 2), ('/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_47_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_41_5623.jpg', 2), ('/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_35_6636.jpg', 2), ('/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_29_5648.jpg', 2), ('/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_17_6658.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:07:21.997120 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_52_5752.jpg', 2), ('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_47_5844.jpg', 2), ('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_41_6019.jpg', 2), ('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_35_5944.jpg', 2), ('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_29_5817.jpg', 2), ('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_23_5797.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:08:42.219819 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_58_5775.jpg', 2), ('/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_41_5772.jpg', 2), ('/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_35_5774.jpg', 2), ('/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_29_6775.jpg', 2), ('/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_23_5831.jpg', 2), ('/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_11_5720.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:10:03.058010 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_47_6651.jpg', 2), ('/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_41_5660.jpg', 2), ('/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_35_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_29_6874.jpg', 2), ('/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_23_5736.jpg', 2), ('/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_17_5766.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:11:22.617486 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_53_5610.jpg', 2), ('/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_47_6683.jpg', 2), ('/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_41_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_35_5630.jpg', 2), ('/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_29_6626.jpg', 2), ('/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_23_5620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:12:42.752649 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_53_6652.jpg', 2), ('/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_47_5655.jpg', 2), ('/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_41_5694.jpg', 2), ('/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_35_6676.jpg', 2), ('/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_29_5604.jpg', 2), ('/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_23_5617.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:14:02.969911 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_59_5684.jpg', 2), ('/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_47_6695.jpg', 2), ('/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_41_5666.jpg', 2), ('/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_35_5701.jpg', 2), ('/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_29_6682.jpg', 2), ('/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_23_5631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:15:22.091157 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_41_6621.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_35_5612.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_29_6654.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_22_5616.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_17_5624.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_11_5861.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:16:42.261101 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_41_6621.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_35_5612.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_29_6654.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_22_5616.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_17_5624.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_11_5861.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:18:03.209603 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/18/image_15042025_08_18_59_5992.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_41_6621.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_35_5612.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_29_6654.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_22_5616.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_17_5624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:19:22.608515 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_53_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_47_5631.jpg', 2), ('/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_41_6607.jpg', 2), ('/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_35_5658.jpg', 2), ('/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_29_5706.jpg', 2), ('/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_23_6893.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:20:42.725261 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_53_5760.jpg', 2), ('/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_47_5778.jpg', 2), ('/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_41_6820.jpg', 2), ('/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_35_5705.jpg', 2), ('/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_29_5671.jpg', 2), ('/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_23_5848.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:22:02.630808 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_53_5775.jpg', 2), ('/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_47_6790.jpg', 2), ('/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_41_5988.jpg', 2), ('/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_35_5128.jpg', 2), ('/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_23_6791.jpg', 2), ('/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_17_5816.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:23:22.088038 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_59_6058.jpg', 2), ('/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_47_6929.jpg', 2), ('/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_40_5855.jpg', 2), ('/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_28_5773.jpg', 2), ('/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_23_5836.jpg', 2), ('/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_17_5747.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:24:42.241055 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_53_5989.jpg', 2), ('/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_47_6010.jpg', 2), ('/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_41_5829.jpg', 2), ('/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_35_6076.jpg', 2), ('/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_29_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_23_5740.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:26:03.150183 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_53_5894.jpg', 2), ('/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_47_5734.jpg', 2), ('/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_41_6045.jpg', 2), ('/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_35_5987.jpg', 2), ('/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_29_5842.jpg', 2), ('/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_23_5755.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:27:22.700533 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_53_6631.jpg', 2), ('/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_47_5619.jpg', 2), ('/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_41_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_35_6625.jpg', 2), ('/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_23_6644.jpg', 2), ('/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_16_5702.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:28:42.765971 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_59_6633.jpg', 2), ('/home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_23_5706.jpg', 2), ('/home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_17_5605.jpg', 2), ('/home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_11_6691.jpg', 2), ('/home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_05_5672.jpg', 2), ('/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_59_5641.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:30:02.635052 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_53_5866.jpg', 2), ('/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_47_5858.jpg', 2), ('/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_41_5833.jpg', 2), ('/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_35_5901.jpg', 2), ('/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_29_5845.jpg', 2), ('/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_23_5838.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:31:22.180240 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_53_5842.jpg', 2), ('/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_47_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_35_5760.jpg', 2), ('/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_29_5801.jpg', 2), ('/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_23_5820.jpg', 2), ('/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_17_6823.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:32:42.293633 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_47_5749.jpg', 2), ('/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_41_5863.jpg', 2), ('/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_35_5819.jpg', 2), ('/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_29_5863.jpg', 2), ('/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_23_6206.jpg', 2), ('/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_17_5858.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:34:03.276104 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_59_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_41_6636.jpg', 2), ('/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_34_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_29_5617.jpg', 2), ('/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_23_6671.jpg', 2), ('/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_17_5611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:35:22.640999 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_53_5689.jpg', 2), ('/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_47_5833.jpg', 2), ('/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_41_6725.jpg', 2), ('/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_35_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_29_5676.jpg', 2), ('/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_23_6679.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:36:41.789623 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_53_5764.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_47_5814.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_41_5972.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_35_6844.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_29_5751.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_23_5835.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:38:02.535341 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_53_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_47_5663.jpg', 2), ('/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_41_6698.jpg', 2), ('/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_35_5829.jpg', 2), ('/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_29_5820.jpg', 2), ('/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_23_5813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:39:22.275802 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_53_5625.jpg', 2), ('/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_47_6666.jpg', 2), ('/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_41_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_35_5628.jpg', 2), ('/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_29_6683.jpg', 2), ('/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_23_5627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:40:42.361406 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_53_5790.jpg', 2), ('/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_47_6788.jpg', 2), ('/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_41_5776.jpg', 2), ('/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_35_5860.jpg', 2), ('/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_29_5779.jpg', 2), ('/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_23_6684.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:42:03.151458 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_53_6091.jpg', 2), ('/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_41_5719.jpg', 2), ('/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_35_6754.jpg', 2), ('/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_29_5856.jpg', 2), ('/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_23_5793.jpg', 2), ('/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_17_5788.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:43:22.732246 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_58_5619.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_41_6633.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_35_5624.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_29_5708.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_23_6797.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_16_5821.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:44:41.845479 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_11_5667.jpg', 2), ('/home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_05_6625.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_58_5619.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_53_5798.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_41_6633.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_35_5624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:46:02.735251 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_11_5667.jpg', 2), ('/home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_05_6625.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_58_5619.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_53_5798.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_41_6633.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_35_5624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:47:22.197801 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_11_5667.jpg', 2), ('/home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_05_6625.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_58_5619.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_53_5798.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_41_6633.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_35_5624.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:48:42.353712 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/48/image_15042025_08_48_59_6097.jpg', 2), ('/home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_11_5667.jpg', 2), ('/home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_05_6625.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_58_5619.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_53_5798.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_41_6633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:50:03.274409 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/48/image_15042025_08_48_59_6097.jpg', 2), ('/home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_11_5667.jpg', 2), ('/home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_05_6625.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_58_5619.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_53_5798.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_41_6633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:51:22.790074 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_52_5663.jpg', 2), ('/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_47_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_41_6682.jpg', 2), ('/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_34_5661.jpg', 2), ('/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_29_5630.jpg', 2), ('/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_23_6679.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:52:41.876481 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_47_5753.jpg', 2), ('/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_41_6740.jpg', 2), ('/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_34_5784.jpg', 2), ('/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_29_5762.jpg', 2), ('/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_23_5774.jpg', 2), ('/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_17_5729.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:54:02.806063 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_59_5783.jpg', 2), ('/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_47_5980.jpg', 2), ('/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_41_5757.jpg', 2), ('/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_35_5767.jpg', 2), ('/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_29_5798.jpg', 2), ('/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_23_6771.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:55:22.238984 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_53_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_47_5641.jpg', 2), ('/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_41_5610.jpg', 2), ('/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_35_6650.jpg', 2), ('/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_29_5615.jpg', 2), ('/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_23_5626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:56:42.387618 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_53_5686.jpg', 2), ('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_47_5665.jpg', 2), ('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_41_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_35_5655.jpg', 2), ('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_29_6653.jpg', 2), ('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_22_5633.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:58:03.177533 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_53_5702.jpg', 2), ('/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_47_5831.jpg', 2), ('/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_41_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_35_6723.jpg', 2), ('/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_29_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_23_5622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 08:59:21.900940 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_53_5613.jpg', 2), ('/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_47_6660.jpg', 2), ('/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_41_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_35_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_29_6830.jpg', 2), ('/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_23_5790.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:00:42.080666 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_53_6648.jpg', 2), ('/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_46_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_41_5597.jpg', 2), ('/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_35_6642.jpg', 2), ('/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_29_5611.jpg', 2), ('/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_23_5609.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:02:03.030771 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_53_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_47_5627.jpg', 2), ('/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_41_6683.jpg', 2), ('/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_35_5676.jpg', 2), ('/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_29_5614.jpg', 2), ('/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_23_6640.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:03:22.477448 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_47_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_41_5664.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_35_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_29_6702.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_23_5975.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:04:42.598820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_47_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_41_5664.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_35_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_29_6702.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:06:02.527389 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_47_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_41_5664.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_35_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_29_6702.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:07:22.027429 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_47_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_41_5664.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_35_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_29_6702.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:08:42.228632 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_47_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_41_5664.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_35_5622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:10:03.038780 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_47_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_41_5664.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_35_5622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:11:22.641405 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_47_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_41_5664.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_35_5622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:12:42.719220 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_47_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_41_5664.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_35_5622.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:14:02.722629 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/13/image_15042025_09_13_59_6112.jpg', 2), ('/home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_47_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_41_5664.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:15:22.119579 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/13/image_15042025_09_13_59_6112.jpg', 2), ('/home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_47_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_41_5664.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:16:42.291641 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/13/image_15042025_09_13_59_6112.jpg', 2), ('/home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_47_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_41_5664.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:18:03.188951 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/18/image_15042025_09_18_59_6147.jpg', 2), ('/home/nano/Desktop/images/15042025/09/13/image_15042025_09_13_59_6112.jpg', 2), ('/home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_47_6649.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:19:22.670690 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/18/image_15042025_09_18_59_6147.jpg', 2), ('/home/nano/Desktop/images/15042025/09/13/image_15042025_09_13_59_6112.jpg', 2), ('/home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_47_6649.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:20:42.761794 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/18/image_15042025_09_18_59_6147.jpg', 2), ('/home/nano/Desktop/images/15042025/09/13/image_15042025_09_13_59_6112.jpg', 2), ('/home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_47_6649.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:22:02.528883 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/18/image_15042025_09_18_59_6147.jpg', 2), ('/home/nano/Desktop/images/15042025/09/13/image_15042025_09_13_59_6112.jpg', 2), ('/home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_47_6649.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:23:22.113287 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/23/image_15042025_09_23_59_6148.jpg', 2), ('/home/nano/Desktop/images/15042025/09/18/image_15042025_09_18_59_6147.jpg', 2), ('/home/nano/Desktop/images/15042025/09/13/image_15042025_09_13_59_6112.jpg', 2), ('/home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:24:42.245750 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/23/image_15042025_09_23_59_6148.jpg', 2), ('/home/nano/Desktop/images/15042025/09/18/image_15042025_09_18_59_6147.jpg', 2), ('/home/nano/Desktop/images/15042025/09/13/image_15042025_09_13_59_6112.jpg', 2), ('/home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:26:03.222909 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/23/image_15042025_09_23_59_6148.jpg', 2), ('/home/nano/Desktop/images/15042025/09/18/image_15042025_09_18_59_6147.jpg', 2), ('/home/nano/Desktop/images/15042025/09/13/image_15042025_09_13_59_6112.jpg', 2), ('/home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:27:22.715528 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/23/image_15042025_09_23_59_6148.jpg', 2), ('/home/nano/Desktop/images/15042025/09/18/image_15042025_09_18_59_6147.jpg', 2), ('/home/nano/Desktop/images/15042025/09/13/image_15042025_09_13_59_6112.jpg', 2), ('/home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:28:41.823403 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/28/image_15042025_09_28_59_5125.jpg', 2), ('/home/nano/Desktop/images/15042025/09/23/image_15042025_09_23_59_6148.jpg', 2), ('/home/nano/Desktop/images/15042025/09/18/image_15042025_09_18_59_6147.jpg', 2), ('/home/nano/Desktop/images/15042025/09/13/image_15042025_09_13_59_6112.jpg', 2), ('/home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_15042025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.6/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 984, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in send history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 667, in history = [resp for resp in gen] File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:30:02.705457 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_15042025 fc.token : 035006c8a8acff541e6b264f3a90e0b8 True 533 2720889 533 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/28/image_15042025_09_28_59_5125.jpg', 2), ('/home/nano/Desktop/images/15042025/09/23/image_15042025_09_23_59_6148.jpg', 2), ('/home/nano/Desktop/images/15042025/09/18/image_15042025_09_18_59_6147.jpg', 2), ('/home/nano/Desktop/images/15042025/09/13/image_15042025_09_13_59_6112.jpg', 2), ('/home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg', 2)] {'portfolio_id': 22024896, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1744702264000} in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/28/image_15042025_09_28_59_5125.jpg', '/home/nano/Desktop/images/15042025/09/23/image_15042025_09_23_59_6148.jpg', '/home/nano/Desktop/images/15042025/09/18/image_15042025_09_18_59_6147.jpg', '/home/nano/Desktop/images/15042025/09/13/image_15042025_09_13_59_6112.jpg', '/home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg', '/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/28/image_15042025_09_28_59_5125.jpg /home/nano/Desktop/images/15042025/09/23/image_15042025_09_23_59_6148.jpg /home/nano/Desktop/images/15042025/09/18/image_15042025_09_18_59_6147.jpg /home/nano/Desktop/images/15042025/09/13/image_15042025_09_13_59_6112.jpg /home/nano/Desktop/images/15042025/09/08/image_15042025_09_08_59_6102.jpg /home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_59_5626.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349822883","1349822885","1349822867","1349822890","1349822878","1349822872"],"photo_ids_order":["1349822867","1349822872","1349822878","1349822883","1349822885","1349822890"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a9aa72d5991fac3d219e9e0d52d9095d.jpg","text":"TemporaryFile(/tmp/multipartBody8366786400855938197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702265436,"filename":"image_15042025_09_13_59_6112.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/735233e1188f8f4efd7419f467a5537d.jpg","text":"TemporaryFile(/tmp/multipartBody5056175704075337020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702265436,"filename":"image_15042025_09_08_59_6102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/85c03e956f097a36f92708022fca8913.jpg","text":"TemporaryFile(/tmp/multipartBody7958470040307785470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702265436,"filename":"image_15042025_09_28_59_5125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/148a3aa131a9c7a9d8d8c958e3ac0828.jpg","text":"TemporaryFile(/tmp/multipartBody27547944364210105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702265436,"filename":"image_15042025_09_03_59_5626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e5da077052f5983140d55a1e160894c.jpg","text":"TemporaryFile(/tmp/multipartBody11462022356881485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702265436,"filename":"image_15042025_09_18_59_6147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a9cfbe524c6ba33b80a561edc8fdfff7.jpg","text":"TemporaryFile(/tmp/multipartBody8461494513617202415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702265436,"filename":"image_15042025_09_23_59_6148.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349822878","file1":"1349822872","file0":"1349822867","file4":"1349822885","file5":"1349822890","file3":"1349822883"},"map_files_photo_id_array":[{"photo_id":"1349822890","filename":"file5"},{"photo_id":"1349822878","filename":"file2"},{"photo_id":"1349822885","filename":"file4"},{"photo_id":"1349822872","filename":"file1"},{"photo_id":"1349822867","filename":"file0"},{"photo_id":"1349822883","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349822883":["hashtag1","hashtag2"]},{"1349822885":["hashtag1","hashtag2"]},{"1349822867":["hashtag1","hashtag2"]},{"1349822890":["hashtag1","hashtag2"]},{"1349822878":["hashtag1","hashtag2"]},{"1349822872":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349822883, 1349822885, 1349822867, 1349822890, 1349822878, 1349822872)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.513318300247192 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:30:42.039040 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_47_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_41_5664.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_35_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_29_6702.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_23_5975.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg', '/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_47_6649.jpg', '/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_41_5664.jpg', '/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_35_5622.jpg', '/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_29_6702.jpg', '/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_23_5975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_53_5656.jpg /home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_47_6649.jpg /home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_41_5664.jpg /home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_35_5622.jpg /home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_29_6702.jpg /home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_23_5975.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349822955","1349822943","1349822922","1349822951","1349822960","1349822933"],"photo_ids_order":["1349822922","1349822933","1349822943","1349822951","1349822955","1349822960"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/723d33fc0085d5414ddf24eeaba5511e.jpg","text":"TemporaryFile(/tmp/multipartBody8251674093247002716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702303825,"filename":"image_15042025_09_03_29_6702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a50400b99b38d30b6d989c749dfb54e0.jpg","text":"TemporaryFile(/tmp/multipartBody8917841336241574886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702303825,"filename":"image_15042025_09_03_41_5664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c95222cfa611617dded1b4bbb2fb5ba.jpg","text":"TemporaryFile(/tmp/multipartBody15951814892852985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702303825,"filename":"image_15042025_09_03_53_5656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69d65bdb2501aaf840e027ed02db33de.jpg","text":"TemporaryFile(/tmp/multipartBody1230987779814271006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702303825,"filename":"image_15042025_09_03_35_5622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d069185640e0940045b89957d469b6c4.jpg","text":"TemporaryFile(/tmp/multipartBody1999003801416902618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702303825,"filename":"image_15042025_09_03_23_5975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f64762fa61f02fcab516e0eedadafa2e.jpg","text":"TemporaryFile(/tmp/multipartBody5748767459886587627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702303825,"filename":"image_15042025_09_03_47_6649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349822943","file1":"1349822933","file0":"1349822922","file4":"1349822955","file5":"1349822960","file3":"1349822951"},"map_files_photo_id_array":[{"photo_id":"1349822960","filename":"file5"},{"photo_id":"1349822943","filename":"file2"},{"photo_id":"1349822955","filename":"file4"},{"photo_id":"1349822933","filename":"file1"},{"photo_id":"1349822922","filename":"file0"},{"photo_id":"1349822951","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349822955":["hashtag1","hashtag2"]},{"1349822943":["hashtag1","hashtag2"]},{"1349822922":["hashtag1","hashtag2"]},{"1349822951":["hashtag1","hashtag2"]},{"1349822960":["hashtag1","hashtag2"]},{"1349822933":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349822955, 1349822943, 1349822922, 1349822951, 1349822960, 1349822933)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.03232479095459 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:31:22.185702 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_11_5857.jpg', 2), ('/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_05_6050.jpg', 2), ('/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_59_5822.jpg', 2), ('/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_53_5857.jpg', 2), ('/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_47_5809.jpg', 2), ('/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_41_6793.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_11_5857.jpg', '/home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_05_6050.jpg', '/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_59_5822.jpg', '/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_53_5857.jpg', '/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_47_5809.jpg', '/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_41_6793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_11_5857.jpg /home/nano/Desktop/images/15042025/09/03/image_15042025_09_03_05_6050.jpg /home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_59_5822.jpg /home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_53_5857.jpg /home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_47_5809.jpg /home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_41_6793.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349823017","1349822998","1349823040","1349823046","1349823028","1349823007"],"photo_ids_order":["1349822998","1349823007","1349823017","1349823028","1349823040","1349823046"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b371d4071ff75b469a56e006e06f1eff.jpg","text":"TemporaryFile(/tmp/multipartBody2677369607400822293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702344044,"filename":"image_15042025_09_02_59_5822.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3551f6edadaba4bd6e63c22d4ecf1976.jpg","text":"TemporaryFile(/tmp/multipartBody2856208518873382153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702344044,"filename":"image_15042025_09_03_11_5857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/af7efd976cee3dffca717cfc061a343d.jpg","text":"TemporaryFile(/tmp/multipartBody360431675973525620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702344044,"filename":"image_15042025_09_02_47_5809.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b122c276b63ae6d95967e7064d0ecc3.jpg","text":"TemporaryFile(/tmp/multipartBody6465800876008697470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702344044,"filename":"image_15042025_09_02_41_6793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de29eaae87a94530f1bba1d06a77f4f8.jpg","text":"TemporaryFile(/tmp/multipartBody5621107866219992970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702344044,"filename":"image_15042025_09_02_53_5857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90b8175b0bfae14c8ad325b53bf7b8f5.jpg","text":"TemporaryFile(/tmp/multipartBody7594348447034392263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702344044,"filename":"image_15042025_09_03_05_6050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823017","file1":"1349823007","file0":"1349822998","file4":"1349823040","file5":"1349823046","file3":"1349823028"},"map_files_photo_id_array":[{"photo_id":"1349823046","filename":"file5"},{"photo_id":"1349823017","filename":"file2"},{"photo_id":"1349823040","filename":"file4"},{"photo_id":"1349823007","filename":"file1"},{"photo_id":"1349822998","filename":"file0"},{"photo_id":"1349823028","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349823017":["hashtag1","hashtag2"]},{"1349822998":["hashtag1","hashtag2"]},{"1349823040":["hashtag1","hashtag2"]},{"1349823046":["hashtag1","hashtag2"]},{"1349823028":["hashtag1","hashtag2"]},{"1349823007":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349823017, 1349822998, 1349823040, 1349823046, 1349823028, 1349823007)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 46.187649726867676 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:32:22.284679 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/32/image_15042025_09_32_53_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/09/32/image_15042025_09_32_47_5754.jpg', 2), ('/home/nano/Desktop/images/15042025/09/04/image_15042025_09_04_05_6059.jpg', 2), ('/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_34_5763.jpg', 2), ('/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_29_5728.jpg', 2), ('/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_23_5715.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/32/image_15042025_09_32_53_5646.jpg', '/home/nano/Desktop/images/15042025/09/32/image_15042025_09_32_47_5754.jpg', '/home/nano/Desktop/images/15042025/09/04/image_15042025_09_04_05_6059.jpg', '/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_34_5763.jpg', '/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_29_5728.jpg', '/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_23_5715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/32/image_15042025_09_32_53_5646.jpg /home/nano/Desktop/images/15042025/09/32/image_15042025_09_32_47_5754.jpg /home/nano/Desktop/images/15042025/09/04/image_15042025_09_04_05_6059.jpg /home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_34_5763.jpg /home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_29_5728.jpg /home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_23_5715.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349823063","1349823102","1349823092","1349823071","1349823067","1349823082"],"photo_ids_order":["1349823063","1349823067","1349823071","1349823082","1349823092","1349823102"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8d8207a027479e54f62078a8f7f535e.jpg","text":"TemporaryFile(/tmp/multipartBody3229670958394921771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702404061,"filename":"image_15042025_09_32_53_5646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cee6fcf5ac89127bb2d1f9bc7144866a.jpg","text":"TemporaryFile(/tmp/multipartBody8013506723708170693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702404061,"filename":"image_15042025_09_02_23_5715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22866153f4ecf752c87e093c58182025.jpg","text":"TemporaryFile(/tmp/multipartBody4511270439472263660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702404061,"filename":"image_15042025_09_02_29_5728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e25c734c6f2de80f2d6bfd0a970c5867.jpg","text":"TemporaryFile(/tmp/multipartBody6534349518990765478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702404061,"filename":"image_15042025_09_04_05_6059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11a3c31ae1db34d1ff89fdaf47f50a81.jpg","text":"TemporaryFile(/tmp/multipartBody8037730317527470703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702404061,"filename":"image_15042025_09_32_47_5754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e0191d7f179598531902b2b61f86151.jpg","text":"TemporaryFile(/tmp/multipartBody5947661502972303077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702404061,"filename":"image_15042025_09_02_34_5763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823071","file1":"1349823067","file0":"1349823063","file4":"1349823092","file5":"1349823102","file3":"1349823082"},"map_files_photo_id_array":[{"photo_id":"1349823102","filename":"file5"},{"photo_id":"1349823071","filename":"file2"},{"photo_id":"1349823092","filename":"file4"},{"photo_id":"1349823067","filename":"file1"},{"photo_id":"1349823063","filename":"file0"},{"photo_id":"1349823082","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349823063":["hashtag1","hashtag2"]},{"1349823102":["hashtag1","hashtag2"]},{"1349823092":["hashtag1","hashtag2"]},{"1349823071":["hashtag1","hashtag2"]},{"1349823067":["hashtag1","hashtag2"]},{"1349823082":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349823063, 1349823102, 1349823092, 1349823071, 1349823067, 1349823082)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.80770707130432 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:33:03.047051 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_59_6644.jpg', 2), ('/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_17_6772.jpg', 2), ('/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_10_5659.jpg', 2), ('/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_05_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_59_6641.jpg', 2), ('/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_53_5632.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_59_6644.jpg', '/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_17_6772.jpg', '/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_10_5659.jpg', '/home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_05_5638.jpg', '/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_59_6641.jpg', '/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_53_5632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_59_6644.jpg /home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_17_6772.jpg /home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_10_5659.jpg /home/nano/Desktop/images/15042025/09/02/image_15042025_09_02_05_5638.jpg /home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_59_6641.jpg /home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_53_5632.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349823153","1349823149","1349823158","1349823143","1349823137","1349823140"],"photo_ids_order":["1349823137","1349823140","1349823143","1349823149","1349823153","1349823158"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc88bf4ac3fa1ee7ada959aae7d5e95b.jpg","text":"TemporaryFile(/tmp/multipartBody8415977531781989519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702444795,"filename":"image_15042025_09_01_59_6641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c77dd52ff51e4a2cd3f4532b1a251077.jpg","text":"TemporaryFile(/tmp/multipartBody6243342646627554559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702444795,"filename":"image_15042025_09_02_05_5638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8910c459f186dba8afcf048109ca322.jpg","text":"TemporaryFile(/tmp/multipartBody6013676372583949878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702444795,"filename":"image_15042025_09_01_53_5632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6618724335b54eed8f3c55406d4729c5.jpg","text":"TemporaryFile(/tmp/multipartBody6558730540600808222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702444795,"filename":"image_15042025_09_02_10_5659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/141f3deed4c979f28d7ac40ec2163f25.jpg","text":"TemporaryFile(/tmp/multipartBody336060229422681626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702444795,"filename":"image_15042025_09_33_59_6644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/069eedddbb68c1a5a6fe7c22f0e4b24d.jpg","text":"TemporaryFile(/tmp/multipartBody4535283841108691868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702444795,"filename":"image_15042025_09_02_17_6772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823143","file1":"1349823140","file0":"1349823137","file4":"1349823153","file5":"1349823158","file3":"1349823149"},"map_files_photo_id_array":[{"photo_id":"1349823158","filename":"file5"},{"photo_id":"1349823143","filename":"file2"},{"photo_id":"1349823153","filename":"file4"},{"photo_id":"1349823140","filename":"file1"},{"photo_id":"1349823137","filename":"file0"},{"photo_id":"1349823149","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349823153":["hashtag1","hashtag2"]},{"1349823149":["hashtag1","hashtag2"]},{"1349823158":["hashtag1","hashtag2"]},{"1349823143":["hashtag1","hashtag2"]},{"1349823137":["hashtag1","hashtag2"]},{"1349823140":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349823153, 1349823149, 1349823158, 1349823143, 1349823137, 1349823140)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.85714840888977 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:33:42.410253 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_47_5619.jpg', 2), ('/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_41_6652.jpg', 2), ('/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_35_5650.jpg', 2), ('/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_29_6629.jpg', 2), ('/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_22_5623.jpg', 2), ('/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_17_6030.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_47_5619.jpg', '/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_41_6652.jpg', '/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_35_5650.jpg', '/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_29_6629.jpg', '/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_22_5623.jpg', '/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_17_6030.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_47_5619.jpg /home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_41_6652.jpg /home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_35_5650.jpg /home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_29_6629.jpg /home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_22_5623.jpg /home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_17_6030.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349823208","1349823225","1349823219","1349823215","1349823200","1349823189"],"photo_ids_order":["1349823189","1349823200","1349823208","1349823215","1349823219","1349823225"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a77ab1e2d8a104255eb389c70881f393.jpg","text":"TemporaryFile(/tmp/multipartBody466002700274219504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702484129,"filename":"image_15042025_09_33_35_5650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c5e3b232525dc345560c57366fdfbf85.jpg","text":"TemporaryFile(/tmp/multipartBody5313432890070489271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702484129,"filename":"image_15042025_09_33_17_6030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c81bbbfa07a10dfe255b932515a0480.jpg","text":"TemporaryFile(/tmp/multipartBody6015427913553576919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702484129,"filename":"image_15042025_09_33_22_5623.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5762b4513e7b6f9d181c619876e6b58d.jpg","text":"TemporaryFile(/tmp/multipartBody8393424229765777899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702484129,"filename":"image_15042025_09_33_29_6629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2053acf759b5f009d4f1c1a1696cafef.jpg","text":"TemporaryFile(/tmp/multipartBody7869203116108264537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702484129,"filename":"image_15042025_09_33_41_6652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b668444329302b99be44862bb59b67c.jpg","text":"TemporaryFile(/tmp/multipartBody6265705580146315644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702484129,"filename":"image_15042025_09_33_47_5619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823208","file1":"1349823200","file0":"1349823189","file4":"1349823219","file5":"1349823225","file3":"1349823215"},"map_files_photo_id_array":[{"photo_id":"1349823225","filename":"file5"},{"photo_id":"1349823208","filename":"file2"},{"photo_id":"1349823219","filename":"file4"},{"photo_id":"1349823200","filename":"file1"},{"photo_id":"1349823189","filename":"file0"},{"photo_id":"1349823215","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349823208":["hashtag1","hashtag2"]},{"1349823225":["hashtag1","hashtag2"]},{"1349823219":["hashtag1","hashtag2"]},{"1349823215":["hashtag1","hashtag2"]},{"1349823200":["hashtag1","hashtag2"]},{"1349823189":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349823208, 1349823225, 1349823219, 1349823215, 1349823200, 1349823189)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.959115505218506 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:34:22.574379 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_53_6056.jpg', 2), ('/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_47_6097.jpg', 2), ('/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_41_5976.jpg', 2), ('/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_35_5992.jpg', 2), ('/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_29_5722.jpg', 2), ('/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_23_5628.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_53_6056.jpg', '/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_47_6097.jpg', '/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_41_5976.jpg', '/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_35_5992.jpg', '/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_29_5722.jpg', '/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_23_5628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_53_6056.jpg /home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_47_6097.jpg /home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_41_5976.jpg /home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_35_5992.jpg /home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_29_5722.jpg /home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_23_5628.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349823276","1349823285","1349823267","1349823296","1349823251","1349823262"],"photo_ids_order":["1349823251","1349823262","1349823267","1349823276","1349823285","1349823296"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94990fd1176c7b9062d5d3ba044142c6.jpg","text":"TemporaryFile(/tmp/multipartBody1656447766927690135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702524489,"filename":"image_15042025_09_34_35_5992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/263ac02bee3ae8e8b353fe9eef9402c0.jpg","text":"TemporaryFile(/tmp/multipartBody7130134316201716641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702524489,"filename":"image_15042025_09_34_29_5722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a4bcf58ebe708fd6bd57773b0b778a9b.jpg","text":"TemporaryFile(/tmp/multipartBody2121508869935740849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702524489,"filename":"image_15042025_09_34_41_5976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d33caf3dd93b4de604c44b8d0ee9ff53.jpg","text":"TemporaryFile(/tmp/multipartBody3498734646563992821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702524489,"filename":"image_15042025_09_34_23_5628.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/108943262dd9752a2880777ec634bed9.jpg","text":"TemporaryFile(/tmp/multipartBody2398294060845959861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702524489,"filename":"image_15042025_09_34_53_6056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/214d386881964405dbd5745e36f46c8b.jpg","text":"TemporaryFile(/tmp/multipartBody2918116145123834095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702524489,"filename":"image_15042025_09_34_47_6097.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823267","file1":"1349823262","file0":"1349823251","file4":"1349823285","file5":"1349823296","file3":"1349823276"},"map_files_photo_id_array":[{"photo_id":"1349823296","filename":"file5"},{"photo_id":"1349823267","filename":"file2"},{"photo_id":"1349823285","filename":"file4"},{"photo_id":"1349823262","filename":"file1"},{"photo_id":"1349823251","filename":"file0"},{"photo_id":"1349823276","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349823276":["hashtag1","hashtag2"]},{"1349823285":["hashtag1","hashtag2"]},{"1349823267":["hashtag1","hashtag2"]},{"1349823296":["hashtag1","hashtag2"]},{"1349823251":["hashtag1","hashtag2"]},{"1349823262":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349823276, 1349823285, 1349823267, 1349823296, 1349823251, 1349823262)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.009984970092773 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:35:03.297217 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_17_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_11_5643.jpg', 2), ('/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_05_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_53_5636.jpg', 2), ('/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_11_5817.jpg', 2), ('/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_05_5665.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_17_6634.jpg', '/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_11_5643.jpg', '/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_05_5622.jpg', '/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_53_5636.jpg', '/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_11_5817.jpg', '/home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_05_5665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_17_6634.jpg /home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_11_5643.jpg /home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_05_5622.jpg /home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_53_5636.jpg /home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_11_5817.jpg /home/nano/Desktop/images/15042025/09/33/image_15042025_09_33_05_5665.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349823369","1349823351","1349823338","1349823355","1349823343","1349823403"],"photo_ids_order":["1349823338","1349823343","1349823351","1349823355","1349823369","1349823403"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94b104fba5d8946e76221b7f744ffe7d.jpg","text":"TemporaryFile(/tmp/multipartBody590377927721613724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702565065,"filename":"image_15042025_09_33_11_5817.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb5a1770bd4d9f16e57abe32181c3cff.jpg","text":"TemporaryFile(/tmp/multipartBody3585813171896226376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702565065,"filename":"image_15042025_09_34_05_5622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/42e3cf1afbc2e2d54429dcd94c3b0191.jpg","text":"TemporaryFile(/tmp/multipartBody4271140159050522522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702565065,"filename":"image_15042025_09_34_17_6634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1bbba011c5cc12ef9f77502c108a92e9.jpg","text":"TemporaryFile(/tmp/multipartBody91458099002634243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702565065,"filename":"image_15042025_09_33_53_5636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2970748eadc6f3cfb7fe42e0fe8e5df.jpg","text":"TemporaryFile(/tmp/multipartBody2005264845308781282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702565065,"filename":"image_15042025_09_34_11_5643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ff06f8a0299e6f2923ee227d73f74ac.jpg","text":"TemporaryFile(/tmp/multipartBody3846287076756995148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702565065,"filename":"image_15042025_09_33_05_5665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823351","file1":"1349823343","file0":"1349823338","file4":"1349823369","file5":"1349823403","file3":"1349823355"},"map_files_photo_id_array":[{"photo_id":"1349823403","filename":"file5"},{"photo_id":"1349823351","filename":"file2"},{"photo_id":"1349823369","filename":"file4"},{"photo_id":"1349823343","filename":"file1"},{"photo_id":"1349823338","filename":"file0"},{"photo_id":"1349823355","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349823369":["hashtag1","hashtag2"]},{"1349823351":["hashtag1","hashtag2"]},{"1349823338":["hashtag1","hashtag2"]},{"1349823355":["hashtag1","hashtag2"]},{"1349823343":["hashtag1","hashtag2"]},{"1349823403":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349823369, 1349823351, 1349823338, 1349823355, 1349823343, 1349823403)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.464711904525757 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:35:42.652854 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_53_6642.jpg', 2), ('/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_47_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_41_6643.jpg', 2), ('/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_34_5597.jpg', 2), ('/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_29_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_23_6724.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_53_6642.jpg', '/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_47_5652.jpg', '/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_41_6643.jpg', '/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_34_5597.jpg', '/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_29_5637.jpg', '/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_23_6724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_53_6642.jpg /home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_47_5652.jpg /home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_41_6643.jpg /home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_34_5597.jpg /home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_29_5637.jpg /home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_23_6724.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349823531","1349823510","1349823545","1349823539","1349823524","1349823502"],"photo_ids_order":["1349823502","1349823510","1349823524","1349823531","1349823539","1349823545"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f47e80936889f25de168871690956c25.jpg","text":"TemporaryFile(/tmp/multipartBody2775563387568252029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702604390,"filename":"image_15042025_09_35_34_5597.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/abcc8badc335a02454a00f503a910f7a.jpg","text":"TemporaryFile(/tmp/multipartBody3029366765962065947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702604390,"filename":"image_15042025_09_35_47_5652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/099a27e00bf4a0cc2cbaa00dc971c8c9.jpg","text":"TemporaryFile(/tmp/multipartBody2065940131194890600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702604390,"filename":"image_15042025_09_35_23_6724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84ef7670a980bef223c7ce7c4f02237f.jpg","text":"TemporaryFile(/tmp/multipartBody1861032527051930617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702604390,"filename":"image_15042025_09_35_29_5637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b9ee38506893324fd0ecefd1ad56adb.jpg","text":"TemporaryFile(/tmp/multipartBody6310138063713624807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702604390,"filename":"image_15042025_09_35_41_6643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a208b431d46f872b063ff2f691ea90c.jpg","text":"TemporaryFile(/tmp/multipartBody3898783110996857431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702604390,"filename":"image_15042025_09_35_53_6642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823524","file1":"1349823510","file0":"1349823502","file4":"1349823539","file5":"1349823545","file3":"1349823531"},"map_files_photo_id_array":[{"photo_id":"1349823545","filename":"file5"},{"photo_id":"1349823524","filename":"file2"},{"photo_id":"1349823539","filename":"file4"},{"photo_id":"1349823510","filename":"file1"},{"photo_id":"1349823502","filename":"file0"},{"photo_id":"1349823531","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349823531":["hashtag1","hashtag2"]},{"1349823510":["hashtag1","hashtag2"]},{"1349823545":["hashtag1","hashtag2"]},{"1349823539":["hashtag1","hashtag2"]},{"1349823524":["hashtag1","hashtag2"]},{"1349823502":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349823531, 1349823510, 1349823545, 1349823539, 1349823524, 1349823502)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.547678470611572 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:36:22.807656 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_17_5814.jpg', 2), ('/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_11_5960.jpg', 2), ('/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_05_6025.jpg', 2), ('/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_59_6018.jpg', 2), ('/home/nano/Desktop/images/15042025/09/32/image_15042025_09_32_59_6626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_47_5627.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_17_5814.jpg', '/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_11_5960.jpg', '/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_05_6025.jpg', '/home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_59_6018.jpg', '/home/nano/Desktop/images/15042025/09/32/image_15042025_09_32_59_6626.jpg', '/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_47_5627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_17_5814.jpg /home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_11_5960.jpg /home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_05_6025.jpg /home/nano/Desktop/images/15042025/09/34/image_15042025_09_34_59_6018.jpg /home/nano/Desktop/images/15042025/09/32/image_15042025_09_32_59_6626.jpg /home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_47_5627.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349823612","1349823677","1349823629","1349823619","1349823607","1349823601"],"photo_ids_order":["1349823601","1349823607","1349823612","1349823619","1349823629","1349823677"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/49946d12185802e2c7fc0f3f623cd23e.jpg","text":"TemporaryFile(/tmp/multipartBody2837591081843979924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702644617,"filename":"image_15042025_09_35_05_6025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8893dee732df94dd02752a546e94213d.jpg","text":"TemporaryFile(/tmp/multipartBody6369530227217783117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702644617,"filename":"image_15042025_09_01_47_5627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88088df0303ab17327c4d94b6d9e1685.jpg","text":"TemporaryFile(/tmp/multipartBody6242587146578025967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702644617,"filename":"image_15042025_09_32_59_6626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d278cf39b2bb91ba1eb567d5d531f37.jpg","text":"TemporaryFile(/tmp/multipartBody8876541969234363168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702644617,"filename":"image_15042025_09_34_59_6018.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ba8db8caff122311eeb8289524b3c52c.jpg","text":"TemporaryFile(/tmp/multipartBody5617333036709533336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702644617,"filename":"image_15042025_09_35_11_5960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1aa900b57bd5d28c69a21dd6f4287edb.jpg","text":"TemporaryFile(/tmp/multipartBody6900376831722127020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702644617,"filename":"image_15042025_09_35_17_5814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823612","file1":"1349823607","file0":"1349823601","file4":"1349823629","file5":"1349823677","file3":"1349823619"},"map_files_photo_id_array":[{"photo_id":"1349823677","filename":"file5"},{"photo_id":"1349823612","filename":"file2"},{"photo_id":"1349823629","filename":"file4"},{"photo_id":"1349823607","filename":"file1"},{"photo_id":"1349823601","filename":"file0"},{"photo_id":"1349823619","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349823612":["hashtag1","hashtag2"]},{"1349823677":["hashtag1","hashtag2"]},{"1349823629":["hashtag1","hashtag2"]},{"1349823619":["hashtag1","hashtag2"]},{"1349823607":["hashtag1","hashtag2"]},{"1349823601":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349823612, 1349823677, 1349823629, 1349823619, 1349823607, 1349823601)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.59765934944153 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:37:02.293562 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_41_6683.jpg', 2), ('/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_35_5676.jpg', 2), ('/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_29_5614.jpg', 2), ('/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_23_6640.jpg', 2), ('/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_17_5631.jpg', 2), ('/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_05_6639.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_41_6683.jpg', '/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_35_5676.jpg', '/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_29_5614.jpg', '/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_23_6640.jpg', '/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_17_5631.jpg', '/home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_05_6639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_41_6683.jpg /home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_35_5676.jpg /home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_29_5614.jpg /home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_23_6640.jpg /home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_17_5631.jpg /home/nano/Desktop/images/15042025/09/01/image_15042025_09_01_05_6639.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349823765","1349823842","1349823866","1349823830","1349823848","1349823809"],"photo_ids_order":["1349823765","1349823809","1349823830","1349823842","1349823848","1349823866"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b346b35cf0591c7269f2aaf784271364.jpg","text":"TemporaryFile(/tmp/multipartBody6783700006443728823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702684024,"filename":"image_15042025_09_01_41_6683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c83646598c13d917ee1124e39e52f1d.jpg","text":"TemporaryFile(/tmp/multipartBody2559592534030661936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702684024,"filename":"image_15042025_09_01_23_6640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3968b532b52fd302e52f6c5de3451f9.jpg","text":"TemporaryFile(/tmp/multipartBody5483936493244162584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702684024,"filename":"image_15042025_09_01_05_6639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac418f720047e05f3248cbba6f936a11.jpg","text":"TemporaryFile(/tmp/multipartBody3762161550377343725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702684024,"filename":"image_15042025_09_01_29_5614.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35ab1ee0b617e74c24f7646f4c6d8ab0.jpg","text":"TemporaryFile(/tmp/multipartBody7624976403957217093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702684024,"filename":"image_15042025_09_01_17_5631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0015288a004346a7e8a9284cb4969667.jpg","text":"TemporaryFile(/tmp/multipartBody299799287768382671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702684024,"filename":"image_15042025_09_01_35_5676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823830","file1":"1349823809","file0":"1349823765","file4":"1349823848","file5":"1349823866","file3":"1349823842"},"map_files_photo_id_array":[{"photo_id":"1349823866","filename":"file5"},{"photo_id":"1349823830","filename":"file2"},{"photo_id":"1349823848","filename":"file4"},{"photo_id":"1349823809","filename":"file1"},{"photo_id":"1349823765","filename":"file0"},{"photo_id":"1349823842","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349823765":["hashtag1","hashtag2"]},{"1349823842":["hashtag1","hashtag2"]},{"1349823866":["hashtag1","hashtag2"]},{"1349823830":["hashtag1","hashtag2"]},{"1349823848":["hashtag1","hashtag2"]},{"1349823809":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349823765, 1349823842, 1349823866, 1349823830, 1349823848, 1349823809)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 35.074119567871094 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:37:41.898562 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_59_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_53_6648.jpg', 2), ('/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_46_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_41_5597.jpg', 2), ('/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_35_6642.jpg', 2), ('/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_29_5611.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_59_5626.jpg', '/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_53_6648.jpg', '/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_46_5621.jpg', '/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_41_5597.jpg', '/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_35_6642.jpg', '/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_29_5611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_59_5626.jpg /home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_53_6648.jpg /home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_46_5621.jpg /home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_41_5597.jpg /home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_35_6642.jpg /home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_29_5611.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349823915","1349823924","1349823941","1349823932","1349823937","1349823904"],"photo_ids_order":["1349823904","1349823915","1349823924","1349823932","1349823937","1349823941"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bbe70f53f73f9f5cc2e55643d8c6d5a1.jpg","text":"TemporaryFile(/tmp/multipartBody6796674909221033034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702723622,"filename":"image_15042025_09_00_53_6648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e2e584a1c87eb73e72a23a4750523349.jpg","text":"TemporaryFile(/tmp/multipartBody4674154540822912207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702723622,"filename":"image_15042025_09_00_46_5621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df82b60ccb424aa7a5713c42d4c832c7.jpg","text":"TemporaryFile(/tmp/multipartBody2459406134169634292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702723622,"filename":"image_15042025_09_00_29_5611.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/82c2b0677265555c113cb6b3495aaf5c.jpg","text":"TemporaryFile(/tmp/multipartBody8462956801755397092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702723622,"filename":"image_15042025_09_00_41_5597.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f72ef48a6ecfc2d1576e52d55638955a.jpg","text":"TemporaryFile(/tmp/multipartBody1843776704971039601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702723622,"filename":"image_15042025_09_00_35_6642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/33b5460b95f72e2ea01c23a0a071d27b.jpg","text":"TemporaryFile(/tmp/multipartBody2255172312931241656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702723622,"filename":"image_15042025_09_00_59_5626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823924","file1":"1349823915","file0":"1349823904","file4":"1349823937","file5":"1349823941","file3":"1349823932"},"map_files_photo_id_array":[{"photo_id":"1349823941","filename":"file5"},{"photo_id":"1349823924","filename":"file2"},{"photo_id":"1349823937","filename":"file4"},{"photo_id":"1349823915","filename":"file1"},{"photo_id":"1349823904","filename":"file0"},{"photo_id":"1349823932","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349823915":["hashtag1","hashtag2"]},{"1349823924":["hashtag1","hashtag2"]},{"1349823941":["hashtag1","hashtag2"]},{"1349823932":["hashtag1","hashtag2"]},{"1349823937":["hashtag1","hashtag2"]},{"1349823904":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349823915, 1349823924, 1349823941, 1349823932, 1349823937, 1349823904)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.584750175476074 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:38:22.048275 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/38/image_15042025_09_38_59_6151.jpg', 2), ('/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_23_5609.jpg', 2), ('/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_17_6614.jpg', 2), ('/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_11_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_05_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_59_5641.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/38/image_15042025_09_38_59_6151.jpg', '/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_23_5609.jpg', '/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_17_6614.jpg', '/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_11_5622.jpg', '/home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_05_6649.jpg', '/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_59_5641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/38/image_15042025_09_38_59_6151.jpg /home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_23_5609.jpg /home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_17_6614.jpg /home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_11_5622.jpg /home/nano/Desktop/images/15042025/09/00/image_15042025_09_00_05_6649.jpg /home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_59_5641.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349823990","1349823995","1349823983","1349823985","1349824003","1349823981"],"photo_ids_order":["1349823981","1349823983","1349823985","1349823990","1349823995","1349824003"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f296c65bfff1a57f0a8de58f23dbab7.jpg","text":"TemporaryFile(/tmp/multipartBody8142462664525423852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702763780,"filename":"image_15042025_09_00_11_5622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/38b53c1fcc35e4e6152fc1d85ff00077.jpg","text":"TemporaryFile(/tmp/multipartBody5153479866407559172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702763780,"filename":"image_15042025_09_00_05_6649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b9a9786709e452b5c3f2db4e688b9191.jpg","text":"TemporaryFile(/tmp/multipartBody4820270216811097477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702763780,"filename":"image_15042025_09_00_23_5609.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ffa40a749d9028197f7faf0bc48b9911.jpg","text":"TemporaryFile(/tmp/multipartBody7026789461487037716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702763780,"filename":"image_15042025_09_00_17_6614.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68516fbcee185f22d24e6042cabfaa90.jpg","text":"TemporaryFile(/tmp/multipartBody6433587956998163023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702763780,"filename":"image_15042025_08_59_59_5641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc0ad8b5e3113b18ba7fd93687a90e3d.jpg","text":"TemporaryFile(/tmp/multipartBody2575500397098163632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702763780,"filename":"image_15042025_09_38_59_6151.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349823985","file1":"1349823983","file0":"1349823981","file4":"1349823995","file5":"1349824003","file3":"1349823990"},"map_files_photo_id_array":[{"photo_id":"1349824003","filename":"file5"},{"photo_id":"1349823985","filename":"file2"},{"photo_id":"1349823995","filename":"file4"},{"photo_id":"1349823983","filename":"file1"},{"photo_id":"1349823981","filename":"file0"},{"photo_id":"1349823990","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349823990":["hashtag1","hashtag2"]},{"1349823995":["hashtag1","hashtag2"]},{"1349823983":["hashtag1","hashtag2"]},{"1349823985":["hashtag1","hashtag2"]},{"1349824003":["hashtag1","hashtag2"]},{"1349823981":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349823990, 1349823995, 1349823983, 1349823985, 1349824003, 1349823981)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.672105073928833 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:39:03.076330 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_53_5613.jpg', 2), ('/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_47_6660.jpg', 2), ('/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_41_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_35_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_29_6830.jpg', 2), ('/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_23_5790.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_53_5613.jpg', '/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_47_6660.jpg', '/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_41_5637.jpg', '/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_35_5637.jpg', '/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_29_6830.jpg', '/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_23_5790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_53_5613.jpg /home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_47_6660.jpg /home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_41_5637.jpg /home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_35_5637.jpg /home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_29_6830.jpg /home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_23_5790.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349824094","1349824084","1349824132","1349824117","1349824056","1349824065"],"photo_ids_order":["1349824056","1349824065","1349824084","1349824094","1349824117","1349824132"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3bf9dca01b9ff7e1721f34d99d6fef7a.jpg","text":"TemporaryFile(/tmp/multipartBody4883310160520875897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702804816,"filename":"image_15042025_08_59_35_5637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d4db6e33ca0789549a9c05f64c896d37.jpg","text":"TemporaryFile(/tmp/multipartBody2284469883708970610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702804816,"filename":"image_15042025_08_59_41_5637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0980bc188237dbe979d6100fd92d6668.jpg","text":"TemporaryFile(/tmp/multipartBody4745443764723142258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702804816,"filename":"image_15042025_08_59_23_5790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d2e6ec36d4f4c91c6400689fb5fdab61.jpg","text":"TemporaryFile(/tmp/multipartBody2679099464792912254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702804816,"filename":"image_15042025_08_59_29_6830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b3d0f38ac17fce9a854fb3c2c3d4ffb.jpg","text":"TemporaryFile(/tmp/multipartBody951458853211758839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702804816,"filename":"image_15042025_08_59_53_5613.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a7fc4bed79f668223c83100e919b804.jpg","text":"TemporaryFile(/tmp/multipartBody6316943453095504926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702804816,"filename":"image_15042025_08_59_47_6660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824084","file1":"1349824065","file0":"1349824056","file4":"1349824117","file5":"1349824132","file3":"1349824094"},"map_files_photo_id_array":[{"photo_id":"1349824132","filename":"file5"},{"photo_id":"1349824084","filename":"file2"},{"photo_id":"1349824117","filename":"file4"},{"photo_id":"1349824065","filename":"file1"},{"photo_id":"1349824056","filename":"file0"},{"photo_id":"1349824094","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349824094":["hashtag1","hashtag2"]},{"1349824084":["hashtag1","hashtag2"]},{"1349824132":["hashtag1","hashtag2"]},{"1349824117":["hashtag1","hashtag2"]},{"1349824056":["hashtag1","hashtag2"]},{"1349824065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349824094, 1349824084, 1349824132, 1349824117, 1349824056, 1349824065)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 36.410799503326416 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:39:42.128707 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_17_5801.jpg', 2), ('/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_11_5874.jpg', 2), ('/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_05_5801.jpg', 2), ('/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_59_6793.jpg', 2), ('/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_52_5813.jpg', 2), ('/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_47_5736.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_17_5801.jpg', '/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_11_5874.jpg', '/home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_05_5801.jpg', '/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_59_6793.jpg', '/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_52_5813.jpg', '/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_47_5736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_17_5801.jpg /home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_11_5874.jpg /home/nano/Desktop/images/15042025/08/59/image_15042025_08_59_05_5801.jpg /home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_59_6793.jpg /home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_52_5813.jpg /home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_47_5736.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349824256","1349824264","1349824246","1349824228","1349824269","1349824260"],"photo_ids_order":["1349824228","1349824246","1349824256","1349824260","1349824264","1349824269"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8c19b835d0b0db7c5c8bbf3cf127a94.jpg","text":"TemporaryFile(/tmp/multipartBody8443174083272120613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702844056,"filename":"image_15042025_08_59_05_5801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9fa8d70a5aea7650c0f82c91e1c6a855.jpg","text":"TemporaryFile(/tmp/multipartBody5323509507685431599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702844056,"filename":"image_15042025_08_58_52_5813.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5385986727c1240525bb24481b1a7aa5.jpg","text":"TemporaryFile(/tmp/multipartBody5320830110125956880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702844056,"filename":"image_15042025_08_59_11_5874.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c0d82a46ea88856e95646773bfdc611.jpg","text":"TemporaryFile(/tmp/multipartBody8907093804800605216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702844056,"filename":"image_15042025_08_59_17_5801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1003eb2b15574476bad6373851ebd02d.jpg","text":"TemporaryFile(/tmp/multipartBody133940391794230955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702844056,"filename":"image_15042025_08_58_47_5736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9808218fbc243cb7d4a4c1d00a1c9e0a.jpg","text":"TemporaryFile(/tmp/multipartBody6548981832839761173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702844056,"filename":"image_15042025_08_58_59_6793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824256","file1":"1349824246","file0":"1349824228","file4":"1349824264","file5":"1349824269","file3":"1349824260"},"map_files_photo_id_array":[{"photo_id":"1349824269","filename":"file5"},{"photo_id":"1349824256","filename":"file2"},{"photo_id":"1349824264","filename":"file4"},{"photo_id":"1349824246","filename":"file1"},{"photo_id":"1349824228","filename":"file0"},{"photo_id":"1349824260","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349824256":["hashtag1","hashtag2"]},{"1349824264":["hashtag1","hashtag2"]},{"1349824246":["hashtag1","hashtag2"]},{"1349824228":["hashtag1","hashtag2"]},{"1349824269":["hashtag1","hashtag2"]},{"1349824260":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349824256, 1349824264, 1349824246, 1349824228, 1349824269, 1349824260)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 50.46205496788025 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:40:42.247281 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_41_5844.jpg', 2), ('/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_35_5776.jpg', 2), ('/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_29_6790.jpg', 2), ('/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_22_5737.jpg', 2), ('/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_17_5792.jpg', 2), ('/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_11_5868.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_41_5844.jpg', '/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_35_5776.jpg', '/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_29_6790.jpg', '/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_22_5737.jpg', '/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_17_5792.jpg', '/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_11_5868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_41_5844.jpg /home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_35_5776.jpg /home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_29_6790.jpg /home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_22_5737.jpg /home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_17_5792.jpg /home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_11_5868.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349824311","1349824298","1349824316","1349824357","1349824330","1349824321"],"photo_ids_order":["1349824298","1349824311","1349824316","1349824321","1349824330","1349824357"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/675a832deffc699cfa536aa219820e67.jpg","text":"TemporaryFile(/tmp/multipartBody9037895995935803746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702904056,"filename":"image_15042025_08_58_35_5776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d29a51d5c99426aa8f097d19a14f0a4.jpg","text":"TemporaryFile(/tmp/multipartBody2658670668456048982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702904056,"filename":"image_15042025_08_58_41_5844.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e75cb028a44d61f86a212b52880e6bc5.jpg","text":"TemporaryFile(/tmp/multipartBody3323718343738177650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702904056,"filename":"image_15042025_08_58_29_6790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3024fd6b6e6d3622b64576893e6fe079.jpg","text":"TemporaryFile(/tmp/multipartBody1503300161605602722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702904056,"filename":"image_15042025_08_58_11_5868.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/097c7dd3a2bf567d8449aea39205947c.jpg","text":"TemporaryFile(/tmp/multipartBody7552688738832389235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702904056,"filename":"image_15042025_08_58_17_5792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32c412594e00b53d55dbfd9d4725ce29.jpg","text":"TemporaryFile(/tmp/multipartBody2718765440323226960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702904056,"filename":"image_15042025_08_58_22_5737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824316","file1":"1349824311","file0":"1349824298","file4":"1349824330","file5":"1349824357","file3":"1349824321"},"map_files_photo_id_array":[{"photo_id":"1349824357","filename":"file5"},{"photo_id":"1349824316","filename":"file2"},{"photo_id":"1349824330","filename":"file4"},{"photo_id":"1349824311","filename":"file1"},{"photo_id":"1349824298","filename":"file0"},{"photo_id":"1349824321","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349824311":["hashtag1","hashtag2"]},{"1349824298":["hashtag1","hashtag2"]},{"1349824316":["hashtag1","hashtag2"]},{"1349824357":["hashtag1","hashtag2"]},{"1349824330":["hashtag1","hashtag2"]},{"1349824321":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349824311, 1349824298, 1349824316, 1349824357, 1349824330, 1349824321)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.03134226799011 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:41:22.387269 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_05_5723.jpg', 2), ('/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_59_6787.jpg', 2), ('/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_53_5702.jpg', 2), ('/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_47_5831.jpg', 2), ('/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_41_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_35_6723.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_05_5723.jpg', '/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_59_6787.jpg', '/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_53_5702.jpg', '/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_47_5831.jpg', '/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_41_5662.jpg', '/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_35_6723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/58/image_15042025_08_58_05_5723.jpg /home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_59_6787.jpg /home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_53_5702.jpg /home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_47_5831.jpg /home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_41_5662.jpg /home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_35_6723.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349824469","1349824457","1349824430","1349824435","1349824402","1349824446"],"photo_ids_order":["1349824402","1349824430","1349824435","1349824446","1349824457","1349824469"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db3b1a8dcba8847abc68129abd43079e.jpg","text":"TemporaryFile(/tmp/multipartBody888232577681625427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702944184,"filename":"image_15042025_08_57_35_6723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eda53f1bf003fe4f0bf6c3a2c0078f15.jpg","text":"TemporaryFile(/tmp/multipartBody6138935837604356245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702944184,"filename":"image_15042025_08_57_41_5662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/42f67dcb38abddc07e6018d89acabb08.jpg","text":"TemporaryFile(/tmp/multipartBody759584318897148421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702944184,"filename":"image_15042025_08_57_59_6787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f04610875a0b52ebd789aadc3f2fd54.jpg","text":"TemporaryFile(/tmp/multipartBody3961283088940950705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702944184,"filename":"image_15042025_08_57_53_5702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0fae2f5718d46e47427e1066dd4c3a4.jpg","text":"TemporaryFile(/tmp/multipartBody4759058628575512681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702944184,"filename":"image_15042025_08_58_05_5723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/485b1b3dbcb517ae514856212c8c3cf5.jpg","text":"TemporaryFile(/tmp/multipartBody8683214136957427701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702944184,"filename":"image_15042025_08_57_47_5831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824435","file1":"1349824430","file0":"1349824402","file4":"1349824457","file5":"1349824469","file3":"1349824446"},"map_files_photo_id_array":[{"photo_id":"1349824469","filename":"file5"},{"photo_id":"1349824435","filename":"file2"},{"photo_id":"1349824457","filename":"file4"},{"photo_id":"1349824430","filename":"file1"},{"photo_id":"1349824402","filename":"file0"},{"photo_id":"1349824446","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349824469":["hashtag1","hashtag2"]},{"1349824457":["hashtag1","hashtag2"]},{"1349824430":["hashtag1","hashtag2"]},{"1349824435":["hashtag1","hashtag2"]},{"1349824402":["hashtag1","hashtag2"]},{"1349824446":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349824469, 1349824457, 1349824430, 1349824435, 1349824402, 1349824446)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.587708473205566 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:42:03.138050 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_29_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_23_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_17_6644.jpg', 2), ('/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_11_5713.jpg', 2), ('/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_05_5658.jpg', 2), ('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_59_6642.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_29_5639.jpg', '/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_23_5622.jpg', '/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_17_6644.jpg', '/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_11_5713.jpg', '/home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_05_5658.jpg', '/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_59_6642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_29_5639.jpg /home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_23_5622.jpg /home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_17_6644.jpg /home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_11_5713.jpg /home/nano/Desktop/images/15042025/08/57/image_15042025_08_57_05_5658.jpg /home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_59_6642.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349824536","1349824509","1349824526","1349824520","1349824516","1349824531"],"photo_ids_order":["1349824509","1349824516","1349824520","1349824526","1349824531","1349824536"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64c1f4fbb12349ac5404e00eb28b0983.jpg","text":"TemporaryFile(/tmp/multipartBody963950771525211576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702984908,"filename":"image_15042025_08_56_59_6642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb3a1aea47bec9c1e5fd249deee2dd9f.jpg","text":"TemporaryFile(/tmp/multipartBody9131644948953082321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702984908,"filename":"image_15042025_08_57_29_5639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1f494bab75fdfdd0d47fad6ccf60063f.jpg","text":"TemporaryFile(/tmp/multipartBody7169685600197485535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702984908,"filename":"image_15042025_08_57_11_5713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/632b7f5cd0f0aeb98d6cdf799bfef57d.jpg","text":"TemporaryFile(/tmp/multipartBody2374108386055502028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702984908,"filename":"image_15042025_08_57_17_6644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ce8ddef6c6b93d52276a4e640e1fe9e.jpg","text":"TemporaryFile(/tmp/multipartBody6638886673823476971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702984908,"filename":"image_15042025_08_57_23_5622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5586e4c2eda26ce78a0172ebcc4ae209.jpg","text":"TemporaryFile(/tmp/multipartBody3654995150507397569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744702984908,"filename":"image_15042025_08_57_05_5658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824520","file1":"1349824516","file0":"1349824509","file4":"1349824531","file5":"1349824536","file3":"1349824526"},"map_files_photo_id_array":[{"photo_id":"1349824536","filename":"file5"},{"photo_id":"1349824520","filename":"file2"},{"photo_id":"1349824531","filename":"file4"},{"photo_id":"1349824516","filename":"file1"},{"photo_id":"1349824509","filename":"file0"},{"photo_id":"1349824526","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349824536":["hashtag1","hashtag2"]},{"1349824509":["hashtag1","hashtag2"]},{"1349824526":["hashtag1","hashtag2"]},{"1349824520":["hashtag1","hashtag2"]},{"1349824516":["hashtag1","hashtag2"]},{"1349824531":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349824536, 1349824509, 1349824526, 1349824520, 1349824516, 1349824531)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.1539363861084 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:42:42.521890 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_53_5686.jpg', 2), ('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_47_5665.jpg', 2), ('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_41_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_35_5655.jpg', 2), ('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_29_6653.jpg', 2), ('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_22_5633.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_53_5686.jpg', '/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_47_5665.jpg', '/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_41_6634.jpg', '/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_35_5655.jpg', '/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_29_6653.jpg', '/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_22_5633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_53_5686.jpg /home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_47_5665.jpg /home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_41_6634.jpg /home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_35_5655.jpg /home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_29_6653.jpg /home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_22_5633.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349824707","1349824635","1349824688","1349824700","1349824714","1349824674"],"photo_ids_order":["1349824635","1349824674","1349824688","1349824700","1349824707","1349824714"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d05b0582091b44bb94f9a7e6567fec5a.jpg","text":"TemporaryFile(/tmp/multipartBody2974969446043308431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703024317,"filename":"image_15042025_08_56_29_6653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a678d8267c3d66891307a2e9263b3ee.jpg","text":"TemporaryFile(/tmp/multipartBody8912825838818439340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703024317,"filename":"image_15042025_08_56_53_5686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69636ba03624592cd689e3f9a18cf997.jpg","text":"TemporaryFile(/tmp/multipartBody8354682270736800935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703024317,"filename":"image_15042025_08_56_41_6634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c573cb70dad149532297b1d5d1ec3c3.jpg","text":"TemporaryFile(/tmp/multipartBody6318128525196751943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703024317,"filename":"image_15042025_08_56_35_5655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b0d93d0059fc14f27f1edf561bfc2540.jpg","text":"TemporaryFile(/tmp/multipartBody7183141899315607335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703024317,"filename":"image_15042025_08_56_22_5633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/53dfcce6260b6f3c6b13171dffe21f07.jpg","text":"TemporaryFile(/tmp/multipartBody281455968091080435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703024317,"filename":"image_15042025_08_56_47_5665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824688","file1":"1349824674","file0":"1349824635","file4":"1349824707","file5":"1349824714","file3":"1349824700"},"map_files_photo_id_array":[{"photo_id":"1349824714","filename":"file5"},{"photo_id":"1349824688","filename":"file2"},{"photo_id":"1349824707","filename":"file4"},{"photo_id":"1349824674","filename":"file1"},{"photo_id":"1349824635","filename":"file0"},{"photo_id":"1349824700","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349824707":["hashtag1","hashtag2"]},{"1349824635":["hashtag1","hashtag2"]},{"1349824688":["hashtag1","hashtag2"]},{"1349824700":["hashtag1","hashtag2"]},{"1349824714":["hashtag1","hashtag2"]},{"1349824674":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349824707, 1349824635, 1349824688, 1349824700, 1349824714, 1349824674)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.839707136154175 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:43:22.676718 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/43/image_15042025_09_43_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_17_5623.jpg', 2), ('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_11_6653.jpg', 2), ('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_05_5647.jpg', 2), ('/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_59_5651.jpg', 2), ('/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_53_6668.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/43/image_15042025_09_43_59_6103.jpg', '/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_17_5623.jpg', '/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_11_6653.jpg', '/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_05_5647.jpg', '/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_59_5651.jpg', '/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_53_6668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/43/image_15042025_09_43_59_6103.jpg /home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_17_5623.jpg /home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_11_6653.jpg /home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_05_5647.jpg /home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_59_5651.jpg /home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_53_6668.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.3618638515472412 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443
\n\n' 400 [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:43:42.692673 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/43/image_15042025_09_43_59_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_17_5623.jpg', 2), ('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_11_6653.jpg', 2), ('/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_05_5647.jpg', 2), ('/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_59_5651.jpg', 2), ('/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_53_6668.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/43/image_15042025_09_43_59_6103.jpg', '/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_17_5623.jpg', '/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_11_6653.jpg', '/home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_05_5647.jpg', '/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_59_5651.jpg', '/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_53_6668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/43/image_15042025_09_43_59_6103.jpg /home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_17_5623.jpg /home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_11_6653.jpg /home/nano/Desktop/images/15042025/08/56/image_15042025_08_56_05_5647.jpg /home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_59_5651.jpg /home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_53_6668.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349824795","1349824786","1349824771","1349824801","1349824791","1349824779"],"photo_ids_order":["1349824771","1349824779","1349824786","1349824791","1349824795","1349824801"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/341857c66136856cd80a73782a6d680a.jpg","text":"TemporaryFile(/tmp/multipartBody3692794692203657889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703084502,"filename":"image_15042025_08_55_59_5651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/60f8ffd43187e6c811b5ff1aa2f14d94.jpg","text":"TemporaryFile(/tmp/multipartBody7751478197903732851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703084502,"filename":"image_15042025_08_56_11_6653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d216871828abe971c6fe191edaec44db.jpg","text":"TemporaryFile(/tmp/multipartBody8026718648333860652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703084502,"filename":"image_15042025_09_43_59_6103.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec6898cd96fdf2027aeca7117cb6a4e1.jpg","text":"TemporaryFile(/tmp/multipartBody5705678062595815501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703084502,"filename":"image_15042025_08_55_53_6668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07e8bdbb9c7f2cdfec8d5ff279ed8bb7.jpg","text":"TemporaryFile(/tmp/multipartBody5699220738965559285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703084502,"filename":"image_15042025_08_56_05_5647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e2035529f9a9060bcccfa4307b38128.jpg","text":"TemporaryFile(/tmp/multipartBody5530491384596948356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703084502,"filename":"image_15042025_08_56_17_5623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824786","file1":"1349824779","file0":"1349824771","file4":"1349824795","file5":"1349824801","file3":"1349824791"},"map_files_photo_id_array":[{"photo_id":"1349824801","filename":"file5"},{"photo_id":"1349824786","filename":"file2"},{"photo_id":"1349824795","filename":"file4"},{"photo_id":"1349824779","filename":"file1"},{"photo_id":"1349824771","filename":"file0"},{"photo_id":"1349824791","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349824795":["hashtag1","hashtag2"]},{"1349824786":["hashtag1","hashtag2"]},{"1349824771":["hashtag1","hashtag2"]},{"1349824801":["hashtag1","hashtag2"]},{"1349824791":["hashtag1","hashtag2"]},{"1349824779":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349824795, 1349824786, 1349824771, 1349824801, 1349824791, 1349824779)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.00653696060181 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:44:21.824571 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_47_5641.jpg', 2), ('/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_41_5610.jpg', 2), ('/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_35_6650.jpg', 2), ('/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_29_5615.jpg', 2), ('/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_23_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_17_6605.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_47_5641.jpg', '/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_41_5610.jpg', '/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_35_6650.jpg', '/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_29_5615.jpg', '/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_23_5626.jpg', '/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_17_6605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_47_5641.jpg /home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_41_5610.jpg /home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_35_6650.jpg /home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_29_5615.jpg /home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_23_5626.jpg /home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_17_6605.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349824829","1349824825","1349824849","1349824837","1349824819","1349824842"],"photo_ids_order":["1349824819","1349824825","1349824829","1349824837","1349824842","1349824849"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/42b1f4c3470e4ec161a6581d7fd4cb1a.jpg","text":"TemporaryFile(/tmp/multipartBody6294788200472547213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703123538,"filename":"image_15042025_08_55_35_6650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3df82e3441e9cfe90d9b88326425e80.jpg","text":"TemporaryFile(/tmp/multipartBody3093282099157797349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703123538,"filename":"image_15042025_08_55_41_5610.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fab36daceda5cd066c28b89daf96c3c5.jpg","text":"TemporaryFile(/tmp/multipartBody3941182267768719991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703123538,"filename":"image_15042025_08_55_17_6605.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b750a7a38c1441ab0aa51f006237c609.jpg","text":"TemporaryFile(/tmp/multipartBody4889839390669267177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703123538,"filename":"image_15042025_08_55_29_5615.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86744b675a36bc517591800daa0cd2e8.jpg","text":"TemporaryFile(/tmp/multipartBody4795716624964126120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703123538,"filename":"image_15042025_08_55_47_5641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/017bf4470efd263b88caac7c7604a8d3.jpg","text":"TemporaryFile(/tmp/multipartBody5481671923868088179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703123538,"filename":"image_15042025_08_55_23_5626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824829","file1":"1349824825","file0":"1349824819","file4":"1349824842","file5":"1349824849","file3":"1349824837"},"map_files_photo_id_array":[{"photo_id":"1349824849","filename":"file5"},{"photo_id":"1349824829","filename":"file2"},{"photo_id":"1349824842","filename":"file4"},{"photo_id":"1349824825","filename":"file1"},{"photo_id":"1349824819","filename":"file0"},{"photo_id":"1349824837","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349824829":["hashtag1","hashtag2"]},{"1349824825":["hashtag1","hashtag2"]},{"1349824849":["hashtag1","hashtag2"]},{"1349824837":["hashtag1","hashtag2"]},{"1349824819":["hashtag1","hashtag2"]},{"1349824842":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349824829, 1349824825, 1349824849, 1349824837, 1349824819, 1349824842)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.039037466049194 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:45:02.544180 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_11_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_05_6743.jpg', 2), ('/home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_58_5854.jpg', 2), ('/home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_47_5679.jpg', 2), ('/home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_41_5774.jpg', 2), ('/home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_35_6831.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_11_5629.jpg', '/home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_05_6743.jpg', '/home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_58_5854.jpg', '/home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_47_5679.jpg', '/home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_41_5774.jpg', '/home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_35_6831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_11_5629.jpg /home/nano/Desktop/images/15042025/08/55/image_15042025_08_55_05_6743.jpg /home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_58_5854.jpg /home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_47_5679.jpg /home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_41_5774.jpg /home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_35_6831.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349824911","1349824905","1349824920","1349824886","1349824899","1349824893"],"photo_ids_order":["1349824886","1349824893","1349824899","1349824905","1349824911","1349824920"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/54b073d5bb1950cc5ded13fc00f90d35.jpg","text":"TemporaryFile(/tmp/multipartBody7952658220993022258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703164312,"filename":"image_15042025_08_54_41_5774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/37311c1362396c263d0a0c237e435c37.jpg","text":"TemporaryFile(/tmp/multipartBody2318509076541043635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703164312,"filename":"image_15042025_08_54_47_5679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24c07946a60372b7989a99a593a40640.jpg","text":"TemporaryFile(/tmp/multipartBody3089971806759765526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703164312,"filename":"image_15042025_08_54_35_6831.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ffb6c2bca1a4ab27e6999ebd18ba2f29.jpg","text":"TemporaryFile(/tmp/multipartBody6526432280035483290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703164312,"filename":"image_15042025_08_55_11_5629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/012602762f1e1ead02e564697f026991.jpg","text":"TemporaryFile(/tmp/multipartBody2414045581915013401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703164312,"filename":"image_15042025_08_54_58_5854.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d96da43c719e98f1e23436ea89504e46.jpg","text":"TemporaryFile(/tmp/multipartBody5404594359701989228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703164312,"filename":"image_15042025_08_55_05_6743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824899","file1":"1349824893","file0":"1349824886","file4":"1349824911","file5":"1349824920","file3":"1349824905"},"map_files_photo_id_array":[{"photo_id":"1349824920","filename":"file5"},{"photo_id":"1349824899","filename":"file2"},{"photo_id":"1349824911","filename":"file4"},{"photo_id":"1349824893","filename":"file1"},{"photo_id":"1349824886","filename":"file0"},{"photo_id":"1349824905","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349824911":["hashtag1","hashtag2"]},{"1349824905":["hashtag1","hashtag2"]},{"1349824920":["hashtag1","hashtag2"]},{"1349824886":["hashtag1","hashtag2"]},{"1349824899":["hashtag1","hashtag2"]},{"1349824893":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349824911, 1349824905, 1349824920, 1349824886, 1349824899, 1349824893)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.800541639328003 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:45:41.968709 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_28_5953.jpg', 2), ('/home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_17_5790.jpg', 2), ('/home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_11_5799.jpg', 2), ('/home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_05_5846.jpg', 2), ('/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_59_5783.jpg', 2), ('/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_53_6842.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_28_5953.jpg', '/home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_17_5790.jpg', '/home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_11_5799.jpg', '/home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_05_5846.jpg', '/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_59_5783.jpg', '/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_53_6842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_28_5953.jpg /home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_17_5790.jpg /home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_11_5799.jpg /home/nano/Desktop/images/15042025/08/54/image_15042025_08_54_05_5846.jpg /home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_59_5783.jpg /home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_53_6842.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349824985","1349824973","1349824993","1349824999","1349825002","1349824953"],"photo_ids_order":["1349824953","1349824973","1349824985","1349824993","1349824999","1349825002"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7319ae481b5f3faa59fa6c24475ed471.jpg","text":"TemporaryFile(/tmp/multipartBody8892742833054013433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703203813,"filename":"image_15042025_08_54_11_5799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b5c6a2db55cdb434572c9ad140076cd6.jpg","text":"TemporaryFile(/tmp/multipartBody2430291732909310048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703203813,"filename":"image_15042025_08_54_17_5790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4689a5daeeecb7427b72b9bf3e34e6e2.jpg","text":"TemporaryFile(/tmp/multipartBody8265484673884773706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703203813,"filename":"image_15042025_08_54_05_5846.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f7ea498eb0a4ee0e62007c0b0fb0e2f.jpg","text":"TemporaryFile(/tmp/multipartBody7178196613583464135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703203813,"filename":"image_15042025_08_53_59_5783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69d4eddb560f3b9c0ca54a3f5c318496.jpg","text":"TemporaryFile(/tmp/multipartBody3119597494217283322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703203813,"filename":"image_15042025_08_53_53_6842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9772814bf075636a44b9991dc7faa350.jpg","text":"TemporaryFile(/tmp/multipartBody1883873010127795754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703203813,"filename":"image_15042025_08_54_28_5953.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349824985","file1":"1349824973","file0":"1349824953","file4":"1349824999","file5":"1349825002","file3":"1349824993"},"map_files_photo_id_array":[{"photo_id":"1349825002","filename":"file5"},{"photo_id":"1349824985","filename":"file2"},{"photo_id":"1349824999","filename":"file4"},{"photo_id":"1349824973","filename":"file1"},{"photo_id":"1349824953","filename":"file0"},{"photo_id":"1349824993","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349824985":["hashtag1","hashtag2"]},{"1349824973":["hashtag1","hashtag2"]},{"1349824993":["hashtag1","hashtag2"]},{"1349824999":["hashtag1","hashtag2"]},{"1349825002":["hashtag1","hashtag2"]},{"1349824953":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349824985, 1349824973, 1349824993, 1349824999, 1349825002, 1349824953)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.168049812316895 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:46:22.089929 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_47_5980.jpg', 2), ('/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_41_5757.jpg', 2), ('/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_35_5767.jpg', 2), ('/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_29_5798.jpg', 2), ('/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_23_6771.jpg', 2), ('/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_16_5777.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_47_5980.jpg', '/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_41_5757.jpg', '/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_35_5767.jpg', '/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_29_5798.jpg', '/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_23_6771.jpg', '/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_16_5777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_47_5980.jpg /home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_41_5757.jpg /home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_35_5767.jpg /home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_29_5798.jpg /home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_23_6771.jpg /home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_16_5777.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349825100","1349825111","1349825119","1349825088","1349825093","1349825106"],"photo_ids_order":["1349825088","1349825093","1349825100","1349825106","1349825111","1349825119"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f192b93a317e7df19fd7be7605474afa.jpg","text":"TemporaryFile(/tmp/multipartBody3049854169967263092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703243911,"filename":"image_15042025_08_53_35_5767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8904a48f122510ee8a03ea40f5e38710.jpg","text":"TemporaryFile(/tmp/multipartBody1950089503888367987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703243911,"filename":"image_15042025_08_53_23_6771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a1f5ae074c2ce7453c9b5b5c40716a0f.jpg","text":"TemporaryFile(/tmp/multipartBody8822456367747486577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703243911,"filename":"image_15042025_08_53_16_5777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a7349dd0efc7bd099ccc5c23eb60dec.jpg","text":"TemporaryFile(/tmp/multipartBody4484347853037616122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703243911,"filename":"image_15042025_08_53_47_5980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec138b4883c9ff6608daed58ee914260.jpg","text":"TemporaryFile(/tmp/multipartBody8162319544032322875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703243911,"filename":"image_15042025_08_53_41_5757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/595555cbe7e7db8a522a1767421ab11e.jpg","text":"TemporaryFile(/tmp/multipartBody8966664362707375670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703243911,"filename":"image_15042025_08_53_29_5798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349825100","file1":"1349825093","file0":"1349825088","file4":"1349825111","file5":"1349825119","file3":"1349825106"},"map_files_photo_id_array":[{"photo_id":"1349825119","filename":"file5"},{"photo_id":"1349825100","filename":"file2"},{"photo_id":"1349825111","filename":"file4"},{"photo_id":"1349825093","filename":"file1"},{"photo_id":"1349825088","filename":"file0"},{"photo_id":"1349825106","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349825100":["hashtag1","hashtag2"]},{"1349825111":["hashtag1","hashtag2"]},{"1349825119":["hashtag1","hashtag2"]},{"1349825088":["hashtag1","hashtag2"]},{"1349825093":["hashtag1","hashtag2"]},{"1349825106":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349825100, 1349825111, 1349825119, 1349825088, 1349825093, 1349825106)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.98513174057007 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:47:02.847118 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_11_5897.jpg', 2), ('/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_53_5832.jpg', 2), ('/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_47_5753.jpg', 2), ('/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_41_6740.jpg', 2), ('/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_34_5784.jpg', 2), ('/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_29_5762.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_11_5897.jpg', '/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_53_5832.jpg', '/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_47_5753.jpg', '/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_41_6740.jpg', '/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_34_5784.jpg', '/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_29_5762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/53/image_15042025_08_53_11_5897.jpg /home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_53_5832.jpg /home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_47_5753.jpg /home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_41_6740.jpg /home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_34_5784.jpg /home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_29_5762.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349825183","1349825162","1349825155","1349825149","1349825170","1349825174"],"photo_ids_order":["1349825149","1349825155","1349825162","1349825170","1349825174","1349825183"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f175ee43f54b83ba1cab168f1d5256ca.jpg","text":"TemporaryFile(/tmp/multipartBody3322397876010887656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703284688,"filename":"image_15042025_08_52_29_5762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/648b203396eb68364d492b6fd7d0c8bc.jpg","text":"TemporaryFile(/tmp/multipartBody9142476093904317233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703284688,"filename":"image_15042025_08_52_47_5753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f672f8892f04824066556abe0da887e3.jpg","text":"TemporaryFile(/tmp/multipartBody7635278022633271483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703284688,"filename":"image_15042025_08_52_53_5832.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9089ca79fb432f1daf1b5f190cae1fb9.jpg","text":"TemporaryFile(/tmp/multipartBody8582162879837512200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703284688,"filename":"image_15042025_08_53_11_5897.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a96c0d25912be2dd2f7ac638f567c8b.jpg","text":"TemporaryFile(/tmp/multipartBody7784222386106889438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703284688,"filename":"image_15042025_08_52_41_6740.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e82a10743592d608505b7e4790bacd65.jpg","text":"TemporaryFile(/tmp/multipartBody3448339762326920558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703284688,"filename":"image_15042025_08_52_34_5784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349825162","file1":"1349825155","file0":"1349825149","file4":"1349825174","file5":"1349825183","file3":"1349825170"},"map_files_photo_id_array":[{"photo_id":"1349825183","filename":"file5"},{"photo_id":"1349825162","filename":"file2"},{"photo_id":"1349825174","filename":"file4"},{"photo_id":"1349825155","filename":"file1"},{"photo_id":"1349825149","filename":"file0"},{"photo_id":"1349825170","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349825183":["hashtag1","hashtag2"]},{"1349825162":["hashtag1","hashtag2"]},{"1349825155":["hashtag1","hashtag2"]},{"1349825149":["hashtag1","hashtag2"]},{"1349825170":["hashtag1","hashtag2"]},{"1349825174":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349825183, 1349825162, 1349825155, 1349825149, 1349825170, 1349825174)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.71844983100891 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:47:42.236654 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_23_5774.jpg', 2), ('/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_17_5729.jpg', 2), ('/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_11_6670.jpg', 2), ('/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_05_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_59_6656.jpg', 2), ('/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_52_5663.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_23_5774.jpg', '/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_17_5729.jpg', '/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_11_6670.jpg', '/home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_05_5632.jpg', '/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_59_6656.jpg', '/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_52_5663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_23_5774.jpg /home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_17_5729.jpg /home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_11_6670.jpg /home/nano/Desktop/images/15042025/08/52/image_15042025_08_52_05_5632.jpg /home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_59_6656.jpg /home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_52_5663.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349825303","1349825320","1349825317","1349825206","1349825229","1349825214"],"photo_ids_order":["1349825206","1349825214","1349825229","1349825303","1349825317","1349825320"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/33c08c469cb57b95d7920fa12d2541d5.jpg","text":"TemporaryFile(/tmp/multipartBody6710808018340708244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703323989,"filename":"image_15042025_08_52_05_5632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88b4fb1c438173bf142d6a6f99fa9217.jpg","text":"TemporaryFile(/tmp/multipartBody1313804173585127005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703323989,"filename":"image_15042025_08_51_52_5663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b41d52ddbe1fc71d6f76f66d34bf3ecc.jpg","text":"TemporaryFile(/tmp/multipartBody1543551307285226710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703323989,"filename":"image_15042025_08_51_59_6656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/66828d317c0e75e4db6c6d09818c51ac.jpg","text":"TemporaryFile(/tmp/multipartBody8249854148523144333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703323989,"filename":"image_15042025_08_52_23_5774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e58d41c2ada23ece168ec2292b8a6ff5.jpg","text":"TemporaryFile(/tmp/multipartBody8055446465240176986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703323989,"filename":"image_15042025_08_52_11_6670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/faaf27fb17893edfa18779012734b3cf.jpg","text":"TemporaryFile(/tmp/multipartBody836489680062133490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703323989,"filename":"image_15042025_08_52_17_5729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349825229","file1":"1349825214","file0":"1349825206","file4":"1349825317","file5":"1349825320","file3":"1349825303"},"map_files_photo_id_array":[{"photo_id":"1349825320","filename":"file5"},{"photo_id":"1349825229","filename":"file2"},{"photo_id":"1349825317","filename":"file4"},{"photo_id":"1349825214","filename":"file1"},{"photo_id":"1349825206","filename":"file0"},{"photo_id":"1349825303","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349825303":["hashtag1","hashtag2"]},{"1349825320":["hashtag1","hashtag2"]},{"1349825317":["hashtag1","hashtag2"]},{"1349825206":["hashtag1","hashtag2"]},{"1349825229":["hashtag1","hashtag2"]},{"1349825214":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349825303, 1349825320, 1349825317, 1349825206, 1349825229, 1349825214)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 37.20908999443054 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:48:22.413724 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/48/image_15042025_09_48_59_6153.jpg', 2), ('/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_47_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_41_6682.jpg', 2), ('/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_34_5661.jpg', 2), ('/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_29_5630.jpg', 2), ('/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_23_6679.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/48/image_15042025_09_48_59_6153.jpg', '/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_47_5635.jpg', '/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_41_6682.jpg', '/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_34_5661.jpg', '/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_29_5630.jpg', '/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_23_6679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/48/image_15042025_09_48_59_6153.jpg /home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_47_5635.jpg /home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_41_6682.jpg /home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_34_5661.jpg /home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_29_5630.jpg /home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_23_6679.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349825474","1349825441","1349825341","1349825397","1349825415","1349825409"],"photo_ids_order":["1349825341","1349825397","1349825409","1349825415","1349825441","1349825474"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69fb4a3212d639f7177596ada50060ab.jpg","text":"TemporaryFile(/tmp/multipartBody6658516364625954966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703364164,"filename":"image_15042025_08_51_23_6679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7bcc30372f6f7891cf4164b276d2cf73.jpg","text":"TemporaryFile(/tmp/multipartBody5036455167024555379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703364164,"filename":"image_15042025_08_51_29_5630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/95e2f28836621b66be333de0799ea83d.jpg","text":"TemporaryFile(/tmp/multipartBody2665447805857135351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703364164,"filename":"image_15042025_09_48_59_6153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d6018919b0df9153240dd43301ee3232.jpg","text":"TemporaryFile(/tmp/multipartBody3398953370564826879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703364164,"filename":"image_15042025_08_51_47_5635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/13c9a82395c2387b4718e56956f2497b.jpg","text":"TemporaryFile(/tmp/multipartBody7792162812690178831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703364164,"filename":"image_15042025_08_51_34_5661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/425f2be5a151cdaaf0e337ccd92bf08b.jpg","text":"TemporaryFile(/tmp/multipartBody6411598198671708945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703364164,"filename":"image_15042025_08_51_41_6682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349825409","file1":"1349825397","file0":"1349825341","file4":"1349825441","file5":"1349825474","file3":"1349825415"},"map_files_photo_id_array":[{"photo_id":"1349825474","filename":"file5"},{"photo_id":"1349825409","filename":"file2"},{"photo_id":"1349825441","filename":"file4"},{"photo_id":"1349825397","filename":"file1"},{"photo_id":"1349825341","filename":"file0"},{"photo_id":"1349825415","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349825474":["hashtag1","hashtag2"]},{"1349825441":["hashtag1","hashtag2"]},{"1349825341":["hashtag1","hashtag2"]},{"1349825397":["hashtag1","hashtag2"]},{"1349825415":["hashtag1","hashtag2"]},{"1349825409":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349825474, 1349825441, 1349825341, 1349825397, 1349825415, 1349825409)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.28637385368347 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:49:03.336093 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_17_5641.jpg', 2), ('/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_11_5707.jpg', 2), ('/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_05_6683.jpg', 2), ('/home/nano/Desktop/images/15042025/08/50/image_15042025_08_50_58_5627.jpg', 2), ('/home/nano/Desktop/images/15042025/08/50/image_15042025_08_50_53_5606.jpg', 2), ('/home/nano/Desktop/images/15042025/08/50/image_15042025_08_50_47_6622.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_17_5641.jpg', '/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_11_5707.jpg', '/home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_05_6683.jpg', '/home/nano/Desktop/images/15042025/08/50/image_15042025_08_50_58_5627.jpg', '/home/nano/Desktop/images/15042025/08/50/image_15042025_08_50_53_5606.jpg', '/home/nano/Desktop/images/15042025/08/50/image_15042025_08_50_47_6622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_17_5641.jpg /home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_11_5707.jpg /home/nano/Desktop/images/15042025/08/51/image_15042025_08_51_05_6683.jpg /home/nano/Desktop/images/15042025/08/50/image_15042025_08_50_58_5627.jpg /home/nano/Desktop/images/15042025/08/50/image_15042025_08_50_53_5606.jpg /home/nano/Desktop/images/15042025/08/50/image_15042025_08_50_47_6622.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349825744","1349825791","1349825761","1349825809","1349825704","1349825775"],"photo_ids_order":["1349825704","1349825744","1349825761","1349825775","1349825791","1349825809"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/98507e08b7ffba356523032316b25ce0.jpg","text":"TemporaryFile(/tmp/multipartBody8678549418547100202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703405081,"filename":"image_15042025_08_51_11_5707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9889f92301b594cbc6ac736637120c8a.jpg","text":"TemporaryFile(/tmp/multipartBody566394354691427611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703405081,"filename":"image_15042025_08_50_53_5606.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3170b6f7a67150fe034fc5491bb624f7.jpg","text":"TemporaryFile(/tmp/multipartBody7404443333499431771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703405081,"filename":"image_15042025_08_51_05_6683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a089d6c732aad7f437ad82a31b91a36e.jpg","text":"TemporaryFile(/tmp/multipartBody3683343369709789617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703405081,"filename":"image_15042025_08_50_47_6622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e45ff77b9dd54548e55a85208c4fb1dc.jpg","text":"TemporaryFile(/tmp/multipartBody428717913966824003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703405081,"filename":"image_15042025_08_51_17_5641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15133381cd276a51c1a247147acedfca.jpg","text":"TemporaryFile(/tmp/multipartBody4892980990524210498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703405081,"filename":"image_15042025_08_50_58_5627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349825761","file1":"1349825744","file0":"1349825704","file4":"1349825791","file5":"1349825809","file3":"1349825775"},"map_files_photo_id_array":[{"photo_id":"1349825809","filename":"file5"},{"photo_id":"1349825761","filename":"file2"},{"photo_id":"1349825791","filename":"file4"},{"photo_id":"1349825744","filename":"file1"},{"photo_id":"1349825704","filename":"file0"},{"photo_id":"1349825775","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349825744":["hashtag1","hashtag2"]},{"1349825791":["hashtag1","hashtag2"]},{"1349825761":["hashtag1","hashtag2"]},{"1349825809":["hashtag1","hashtag2"]},{"1349825704":["hashtag1","hashtag2"]},{"1349825775":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349825744, 1349825791, 1349825761, 1349825809, 1349825704, 1349825775)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 38.38285493850708 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:49:42.508733 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/50/image_15042025_08_50_41_6064.jpg', 2), ('/home/nano/Desktop/images/15042025/08/48/image_15042025_08_48_59_6097.jpg', 2), ('/home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_17_6633.jpg', 2), ('/home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_11_5667.jpg', 2), ('/home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_05_6625.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_58_5619.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/50/image_15042025_08_50_41_6064.jpg', '/home/nano/Desktop/images/15042025/08/48/image_15042025_08_48_59_6097.jpg', '/home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_17_6633.jpg', '/home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_11_5667.jpg', '/home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_05_6625.jpg', '/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_58_5619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/50/image_15042025_08_50_41_6064.jpg /home/nano/Desktop/images/15042025/08/48/image_15042025_08_48_59_6097.jpg /home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_17_6633.jpg /home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_11_5667.jpg /home/nano/Desktop/images/15042025/08/44/image_15042025_08_44_05_6625.jpg /home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_58_5619.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349825879","1349825918","1349826039","1349825979","1349826009","1349825949"],"photo_ids_order":["1349825879","1349825918","1349825949","1349825979","1349826009","1349826039"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/159ba7acf9d62294b6554ada8a71ff07.jpg","text":"TemporaryFile(/tmp/multipartBody5410329373787710670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703444259,"filename":"image_15042025_08_50_41_6064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f831bbfc522d89418d612acc1bee2df.jpg","text":"TemporaryFile(/tmp/multipartBody7732957039913268094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703444259,"filename":"image_15042025_08_48_59_6097.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/02635af8527be4c3c2fb872d6db12d42.jpg","text":"TemporaryFile(/tmp/multipartBody7571043656501047692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703444259,"filename":"image_15042025_08_43_58_5619.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa26b985a4f575416a514d4717a7aaf6.jpg","text":"TemporaryFile(/tmp/multipartBody7163126372502885614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703444259,"filename":"image_15042025_08_44_11_5667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1ac71bb1373da954a3742f4b2aae586.jpg","text":"TemporaryFile(/tmp/multipartBody8705589625500753124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703444259,"filename":"image_15042025_08_44_05_6625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d721ca0720e1c43d6694c743729d446c.jpg","text":"TemporaryFile(/tmp/multipartBody326981084469127018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703444259,"filename":"image_15042025_08_44_17_6633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349825949","file1":"1349825918","file0":"1349825879","file4":"1349826009","file5":"1349826039","file3":"1349825979"},"map_files_photo_id_array":[{"photo_id":"1349826039","filename":"file5"},{"photo_id":"1349825949","filename":"file2"},{"photo_id":"1349826009","filename":"file4"},{"photo_id":"1349825918","filename":"file1"},{"photo_id":"1349825879","filename":"file0"},{"photo_id":"1349825979","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349825879":["hashtag1","hashtag2"]},{"1349825918":["hashtag1","hashtag2"]},{"1349826039":["hashtag1","hashtag2"]},{"1349825979":["hashtag1","hashtag2"]},{"1349826009":["hashtag1","hashtag2"]},{"1349825949":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349825879, 1349825918, 1349826039, 1349825979, 1349826009, 1349825949)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.941536903381348 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:50:22.660464 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_53_5798.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_41_6633.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_35_5624.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_29_5708.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_23_6797.jpg', 2), ('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_16_5821.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_53_5798.jpg', '/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_41_6633.jpg', '/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_35_5624.jpg', '/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_29_5708.jpg', '/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_23_6797.jpg', '/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_16_5821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_53_5798.jpg /home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_41_6633.jpg /home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_35_5624.jpg /home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_29_5708.jpg /home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_23_6797.jpg /home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_16_5821.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349826245","1349826313","1349826214","1349826345","1349826188","1349826281"],"photo_ids_order":["1349826188","1349826214","1349826245","1349826281","1349826313","1349826345"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d6a95dd0da5072b4bfb8b0e656a98fd.jpg","text":"TemporaryFile(/tmp/multipartBody5649099997516981297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703484417,"filename":"image_15042025_08_43_35_5624.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cdb6c7184b295ab14fa55421af36ef61.jpg","text":"TemporaryFile(/tmp/multipartBody6755492705750264344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703484417,"filename":"image_15042025_08_43_23_6797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5154b0925c6f28bc582d9c1e0f4c6748.jpg","text":"TemporaryFile(/tmp/multipartBody6816946787209009962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703484417,"filename":"image_15042025_08_43_41_6633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a657656e76592bf1fe172226eba0ef8.jpg","text":"TemporaryFile(/tmp/multipartBody6996101998559662469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703484417,"filename":"image_15042025_08_43_16_5821.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ceb7542d5284ff7eb8f1415574c91818.jpg","text":"TemporaryFile(/tmp/multipartBody7986565288423415187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703484417,"filename":"image_15042025_08_43_53_5798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97572fd5f592010a4e8bdfa8a616376a.jpg","text":"TemporaryFile(/tmp/multipartBody8709974482371789830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703484417,"filename":"image_15042025_08_43_29_5708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349826245","file1":"1349826214","file0":"1349826188","file4":"1349826313","file5":"1349826345","file3":"1349826281"},"map_files_photo_id_array":[{"photo_id":"1349826345","filename":"file5"},{"photo_id":"1349826245","filename":"file2"},{"photo_id":"1349826313","filename":"file4"},{"photo_id":"1349826214","filename":"file1"},{"photo_id":"1349826188","filename":"file0"},{"photo_id":"1349826281","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349826245":["hashtag1","hashtag2"]},{"1349826313":["hashtag1","hashtag2"]},{"1349826214":["hashtag1","hashtag2"]},{"1349826345":["hashtag1","hashtag2"]},{"1349826188":["hashtag1","hashtag2"]},{"1349826281":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349826245, 1349826313, 1349826214, 1349826345, 1349826188, 1349826281)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.426008462905884 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:51:03.394667 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_11_5957.jpg', 2), ('/home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_59_5787.jpg', 2), ('/home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_53_5794.jpg', 2), ('/home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_47_5766.jpg', 2), ('/home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_41_6790.jpg', 2), ('/home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_34_5848.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_11_5957.jpg', '/home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_59_5787.jpg', '/home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_53_5794.jpg', '/home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_47_5766.jpg', '/home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_41_6790.jpg', '/home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_34_5848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/43/image_15042025_08_43_11_5957.jpg /home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_59_5787.jpg /home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_53_5794.jpg /home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_47_5766.jpg /home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_41_6790.jpg /home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_34_5848.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349826598","1349826564","1349826630","1349826531","1349826497","1349826665"],"photo_ids_order":["1349826497","1349826531","1349826564","1349826598","1349826630","1349826665"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35d5d5f9d03b139880803feba3291b2f.jpg","text":"TemporaryFile(/tmp/multipartBody7198106488175491472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703525240,"filename":"image_15042025_08_42_47_5766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa18090d209693c13683ca3e5d150a2b.jpg","text":"TemporaryFile(/tmp/multipartBody7507088198085872152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703525240,"filename":"image_15042025_08_42_53_5794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20d19d5644344037b7019555513d1574.jpg","text":"TemporaryFile(/tmp/multipartBody4718948483767302725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703525240,"filename":"image_15042025_08_42_41_6790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e5cb8dc28b1781968e250be2cb72941f.jpg","text":"TemporaryFile(/tmp/multipartBody1600872053258111197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703525240,"filename":"image_15042025_08_42_59_5787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc650e3e976ff51e6bbb490c03eb4e4b.jpg","text":"TemporaryFile(/tmp/multipartBody172643683290725280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703525240,"filename":"image_15042025_08_43_11_5957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/103682168c744f512129204278054fca.jpg","text":"TemporaryFile(/tmp/multipartBody1482734416584270539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703525240,"filename":"image_15042025_08_42_34_5848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349826564","file1":"1349826531","file0":"1349826497","file4":"1349826630","file5":"1349826665","file3":"1349826598"},"map_files_photo_id_array":[{"photo_id":"1349826665","filename":"file5"},{"photo_id":"1349826564","filename":"file2"},{"photo_id":"1349826630","filename":"file4"},{"photo_id":"1349826531","filename":"file1"},{"photo_id":"1349826497","filename":"file0"},{"photo_id":"1349826598","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349826598":["hashtag1","hashtag2"]},{"1349826564":["hashtag1","hashtag2"]},{"1349826630":["hashtag1","hashtag2"]},{"1349826531":["hashtag1","hashtag2"]},{"1349826497":["hashtag1","hashtag2"]},{"1349826665":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349826598, 1349826564, 1349826630, 1349826531, 1349826497, 1349826665)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.317541122436523 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:51:42.746439 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_29_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_17_6747.jpg', 2), ('/home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_11_5802.jpg', 2), ('/home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_05_5793.jpg', 2), ('/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_59_5755.jpg', 2), ('/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_53_6091.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_29_6103.jpg', '/home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_17_6747.jpg', '/home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_11_5802.jpg', '/home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_05_5793.jpg', '/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_59_5755.jpg', '/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_53_6091.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_29_6103.jpg /home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_17_6747.jpg /home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_11_5802.jpg /home/nano/Desktop/images/15042025/08/42/image_15042025_08_42_05_5793.jpg /home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_59_5755.jpg /home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_53_6091.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349826739","1349826733","1349826727","1349826753","1349826720","1349826746"],"photo_ids_order":["1349826720","1349826727","1349826733","1349826739","1349826746","1349826753"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd244c76835b33c87e17d463041176e2.jpg","text":"TemporaryFile(/tmp/multipartBody3375183606267985493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703564569,"filename":"image_15042025_08_42_05_5793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6051789387de6bf25a9221b8c4cc256.jpg","text":"TemporaryFile(/tmp/multipartBody8703600954575369578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703564569,"filename":"image_15042025_08_42_11_5802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e9928812ed3448bbad76f6ddd92468e2.jpg","text":"TemporaryFile(/tmp/multipartBody5476291180102502533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703564569,"filename":"image_15042025_08_42_17_6747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87f5277ceb2fcb46a130ec3dac5612bd.jpg","text":"TemporaryFile(/tmp/multipartBody3557578956691715621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703564569,"filename":"image_15042025_08_41_53_6091.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a294bc226c5de8de6730ad72774629fc.jpg","text":"TemporaryFile(/tmp/multipartBody6249478784056835144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703564569,"filename":"image_15042025_08_42_29_6103.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e330613675789fff85d4cd417f6395d.jpg","text":"TemporaryFile(/tmp/multipartBody8012338576565039930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703564569,"filename":"image_15042025_08_41_59_5755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349826733","file1":"1349826727","file0":"1349826720","file4":"1349826746","file5":"1349826753","file3":"1349826739"},"map_files_photo_id_array":[{"photo_id":"1349826753","filename":"file5"},{"photo_id":"1349826733","filename":"file2"},{"photo_id":"1349826746","filename":"file4"},{"photo_id":"1349826727","filename":"file1"},{"photo_id":"1349826720","filename":"file0"},{"photo_id":"1349826739","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349826739":["hashtag1","hashtag2"]},{"1349826733":["hashtag1","hashtag2"]},{"1349826727":["hashtag1","hashtag2"]},{"1349826753":["hashtag1","hashtag2"]},{"1349826720":["hashtag1","hashtag2"]},{"1349826746":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349826739, 1349826733, 1349826727, 1349826753, 1349826720, 1349826746)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.41558575630188 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:52:21.896185 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_41_5719.jpg', 2), ('/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_35_6754.jpg', 2), ('/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_29_5856.jpg', 2), ('/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_23_5793.jpg', 2), ('/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_17_5788.jpg', 2), ('/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_11_5977.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_41_5719.jpg', '/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_35_6754.jpg', '/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_29_5856.jpg', '/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_23_5793.jpg', '/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_17_5788.jpg', '/home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_11_5977.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_41_5719.jpg /home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_35_6754.jpg /home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_29_5856.jpg /home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_23_5793.jpg /home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_17_5788.jpg /home/nano/Desktop/images/15042025/08/41/image_15042025_08_41_11_5977.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349826787","1349826781","1349826777","1349826792","1349826773","1349826797"],"photo_ids_order":["1349826773","1349826777","1349826781","1349826787","1349826792","1349826797"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4d2381822e1efab52950bf8c9ae84507.jpg","text":"TemporaryFile(/tmp/multipartBody8037410354133849986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703603723,"filename":"image_15042025_08_41_23_5793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/99ca493b00f2b3d953bcbe6a60c5047d.jpg","text":"TemporaryFile(/tmp/multipartBody91091033362048198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703603723,"filename":"image_15042025_08_41_29_5856.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/938df25314a390626a7cdb9fed915fde.jpg","text":"TemporaryFile(/tmp/multipartBody1322183899169922614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703603723,"filename":"image_15042025_08_41_35_6754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/beaa3e5b13812566fe69f28107922a26.jpg","text":"TemporaryFile(/tmp/multipartBody5774514732460924464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703603723,"filename":"image_15042025_08_41_17_5788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b46dd24c4fcd62d4ed125bc515198571.jpg","text":"TemporaryFile(/tmp/multipartBody2240212419554875262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703603723,"filename":"image_15042025_08_41_41_5719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a208115d17d914a520e9bba00a71ff5e.jpg","text":"TemporaryFile(/tmp/multipartBody3342857746967503111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703603723,"filename":"image_15042025_08_41_11_5977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349826781","file1":"1349826777","file0":"1349826773","file4":"1349826792","file5":"1349826797","file3":"1349826787"},"map_files_photo_id_array":[{"photo_id":"1349826797","filename":"file5"},{"photo_id":"1349826781","filename":"file2"},{"photo_id":"1349826792","filename":"file4"},{"photo_id":"1349826777","filename":"file1"},{"photo_id":"1349826773","filename":"file0"},{"photo_id":"1349826787","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349826787":["hashtag1","hashtag2"]},{"1349826781":["hashtag1","hashtag2"]},{"1349826777":["hashtag1","hashtag2"]},{"1349826792":["hashtag1","hashtag2"]},{"1349826773":["hashtag1","hashtag2"]},{"1349826797":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349826787, 1349826781, 1349826777, 1349826792, 1349826773, 1349826797)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.6678569316864 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:53:02.673395 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/53/image_15042025_09_53_59_6121.jpg', 2), ('/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_59_5769.jpg', 2), ('/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_53_5790.jpg', 2), ('/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_47_6788.jpg', 2), ('/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_41_5776.jpg', 2), ('/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_35_5860.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/53/image_15042025_09_53_59_6121.jpg', '/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_59_5769.jpg', '/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_53_5790.jpg', '/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_47_6788.jpg', '/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_41_5776.jpg', '/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_35_5860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/53/image_15042025_09_53_59_6121.jpg /home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_59_5769.jpg /home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_53_5790.jpg /home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_47_6788.jpg /home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_41_5776.jpg /home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_35_5860.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349826911","1349826967","1349826940","1349826996","1349826873","1349827031"],"photo_ids_order":["1349826873","1349826911","1349826940","1349826967","1349826996","1349827031"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d54a782803ae77c7d6c0e658185ae750.jpg","text":"TemporaryFile(/tmp/multipartBody8116173115744150881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703644560,"filename":"image_15042025_08_40_59_5769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d9e4104724a059e8731788255e24733.jpg","text":"TemporaryFile(/tmp/multipartBody5269755930746767376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703644560,"filename":"image_15042025_08_40_47_6788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71a840b9fc0e95879f8c82739ab4f0cc.jpg","text":"TemporaryFile(/tmp/multipartBody274951234313300143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703644560,"filename":"image_15042025_08_40_53_5790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d05eca5d7401cca629030189cd88e4ba.jpg","text":"TemporaryFile(/tmp/multipartBody4055841015832373901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703644560,"filename":"image_15042025_08_40_41_5776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a1b4c46b65d68e899390a8b349bad0b2.jpg","text":"TemporaryFile(/tmp/multipartBody7589073121823494429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703644560,"filename":"image_15042025_09_53_59_6121.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/637f52d0bff02c0169e7669056effd8c.jpg","text":"TemporaryFile(/tmp/multipartBody8679915382430884464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703644560,"filename":"image_15042025_08_40_35_5860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349826940","file1":"1349826911","file0":"1349826873","file4":"1349826996","file5":"1349827031","file3":"1349826967"},"map_files_photo_id_array":[{"photo_id":"1349827031","filename":"file5"},{"photo_id":"1349826940","filename":"file2"},{"photo_id":"1349826996","filename":"file4"},{"photo_id":"1349826911","filename":"file1"},{"photo_id":"1349826873","filename":"file0"},{"photo_id":"1349826967","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349826911":["hashtag1","hashtag2"]},{"1349826967":["hashtag1","hashtag2"]},{"1349826940":["hashtag1","hashtag2"]},{"1349826996":["hashtag1","hashtag2"]},{"1349826873":["hashtag1","hashtag2"]},{"1349827031":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349826911, 1349826967, 1349826940, 1349826996, 1349826873, 1349827031)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.094181299209595 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:53:42.079513 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_29_5779.jpg', 2), ('/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_23_6684.jpg', 2), ('/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_17_5659.jpg', 2), ('/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_11_5716.jpg', 2), ('/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_05_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_59_5646.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_29_5779.jpg', '/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_23_6684.jpg', '/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_17_5659.jpg', '/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_11_5716.jpg', '/home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_05_6668.jpg', '/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_59_5646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_29_5779.jpg /home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_23_6684.jpg /home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_17_5659.jpg /home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_11_5716.jpg /home/nano/Desktop/images/15042025/08/40/image_15042025_08_40_05_6668.jpg /home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_59_5646.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349827231","1349827216","1349827221","1349827227","1349827181","1349827390"],"photo_ids_order":["1349827181","1349827216","1349827221","1349827227","1349827231","1349827390"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a8e986d1868a1c68256b0715ee00394.jpg","text":"TemporaryFile(/tmp/multipartBody5409180716079108443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703683845,"filename":"image_15042025_08_40_05_6668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15df3a9b4df9401edfe190b4ddd1fd2d.jpg","text":"TemporaryFile(/tmp/multipartBody4935166061565624644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703683845,"filename":"image_15042025_08_40_23_6684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bb345387e6f45631c61df09f105b77aa.jpg","text":"TemporaryFile(/tmp/multipartBody5873612416167872724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703683845,"filename":"image_15042025_08_40_17_5659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0152b7e1cb3752decbd29b560563237f.jpg","text":"TemporaryFile(/tmp/multipartBody7875815695671734971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703683845,"filename":"image_15042025_08_40_11_5716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e5888230142a9abf2c8c8da0bf062e38.jpg","text":"TemporaryFile(/tmp/multipartBody4684389310167946348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703683845,"filename":"image_15042025_08_40_29_5779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa7aae7f0434c62640bc3bb6d5b98e88.jpg","text":"TemporaryFile(/tmp/multipartBody7867864528124372637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703683845,"filename":"image_15042025_08_39_59_5646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349827221","file1":"1349827216","file0":"1349827181","file4":"1349827231","file5":"1349827390","file3":"1349827227"},"map_files_photo_id_array":[{"photo_id":"1349827390","filename":"file5"},{"photo_id":"1349827221","filename":"file2"},{"photo_id":"1349827231","filename":"file4"},{"photo_id":"1349827216","filename":"file1"},{"photo_id":"1349827181","filename":"file0"},{"photo_id":"1349827227","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349827231":["hashtag1","hashtag2"]},{"1349827216":["hashtag1","hashtag2"]},{"1349827221":["hashtag1","hashtag2"]},{"1349827227":["hashtag1","hashtag2"]},{"1349827181":["hashtag1","hashtag2"]},{"1349827390":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349827231, 1349827216, 1349827221, 1349827227, 1349827181, 1349827390)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.184887170791626 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:54:22.196383 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_53_5625.jpg', 2), ('/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_47_6666.jpg', 2), ('/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_41_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_35_5628.jpg', 2), ('/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_29_6683.jpg', 2), ('/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_23_5627.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_53_5625.jpg', '/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_47_6666.jpg', '/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_41_5642.jpg', '/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_35_5628.jpg', '/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_29_6683.jpg', '/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_23_5627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_53_5625.jpg /home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_47_6666.jpg /home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_41_5642.jpg /home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_35_5628.jpg /home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_29_6683.jpg /home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_23_5627.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349827438","1349827512","1349827455","1349827425","1349827430","1349827483"],"photo_ids_order":["1349827425","1349827430","1349827438","1349827455","1349827483","1349827512"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/902454310eebdc6708a80e1c9b3fbdf1.jpg","text":"TemporaryFile(/tmp/multipartBody6985805652528413337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703723916,"filename":"image_15042025_08_39_41_5642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ef3b176a33f9ce3acf8e8369da0369c.jpg","text":"TemporaryFile(/tmp/multipartBody1581049615621091510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703723916,"filename":"image_15042025_08_39_23_5627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84ebffea3f2389e70df0b8332b51fa1a.jpg","text":"TemporaryFile(/tmp/multipartBody505081183852727056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703723916,"filename":"image_15042025_08_39_35_5628.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90f1143426e9c17ac385f710ab86e68c.jpg","text":"TemporaryFile(/tmp/multipartBody3955462588990587349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703723916,"filename":"image_15042025_08_39_53_5625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/12a8a9a9141aa88a733daeccd60de087.jpg","text":"TemporaryFile(/tmp/multipartBody3916210262003696885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703723916,"filename":"image_15042025_08_39_47_6666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a7f1a1de22dd970cbb83a229bf9d83d.jpg","text":"TemporaryFile(/tmp/multipartBody7639344485805674554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703723916,"filename":"image_15042025_08_39_29_6683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349827438","file1":"1349827430","file0":"1349827425","file4":"1349827483","file5":"1349827512","file3":"1349827455"},"map_files_photo_id_array":[{"photo_id":"1349827512","filename":"file5"},{"photo_id":"1349827438","filename":"file2"},{"photo_id":"1349827483","filename":"file4"},{"photo_id":"1349827430","filename":"file1"},{"photo_id":"1349827425","filename":"file0"},{"photo_id":"1349827455","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349827438":["hashtag1","hashtag2"]},{"1349827512":["hashtag1","hashtag2"]},{"1349827455":["hashtag1","hashtag2"]},{"1349827425":["hashtag1","hashtag2"]},{"1349827430":["hashtag1","hashtag2"]},{"1349827483":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349827438, 1349827512, 1349827455, 1349827425, 1349827430, 1349827483)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.022337675094604 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:55:02.893285 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_17_5971.jpg', 2), ('/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_05_6676.jpg', 2), ('/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_59_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_53_5600.jpg', 2), ('/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_47_6664.jpg', 2), ('/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_41_5595.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_17_5971.jpg', '/home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_05_6676.jpg', '/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_59_5635.jpg', '/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_53_5600.jpg', '/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_47_6664.jpg', '/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_41_5595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_17_5971.jpg /home/nano/Desktop/images/15042025/08/39/image_15042025_08_39_05_6676.jpg /home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_59_5635.jpg /home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_53_5600.jpg /home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_47_6664.jpg /home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_41_5595.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349827665","1349827722","1349827691","1349827586","1349827751","1349827622"],"photo_ids_order":["1349827586","1349827622","1349827665","1349827691","1349827722","1349827751"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f73c387e69e7814f4c96bb7bf989ea56.jpg","text":"TemporaryFile(/tmp/multipartBody1934494021011554281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703764630,"filename":"image_15042025_08_38_59_5635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77b1c3f9a4e09ff843a6522eee124765.jpg","text":"TemporaryFile(/tmp/multipartBody3695041429883801479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703764630,"filename":"image_15042025_08_38_47_6664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d7b750019f2882001d44030a05f2ebe.jpg","text":"TemporaryFile(/tmp/multipartBody8277749126208523442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703764630,"filename":"image_15042025_08_38_53_5600.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e8ac67083960db1348c70be88814c30.jpg","text":"TemporaryFile(/tmp/multipartBody1678648145304397699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703764630,"filename":"image_15042025_08_39_17_5971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8fee2e2154480a7c0ee92d7e8f9853a6.jpg","text":"TemporaryFile(/tmp/multipartBody7830813986829598572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703764630,"filename":"image_15042025_08_38_41_5595.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/49e6277b9e6b590972f665a975a6256b.jpg","text":"TemporaryFile(/tmp/multipartBody6155783184265611323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703764630,"filename":"image_15042025_08_39_05_6676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349827665","file1":"1349827622","file0":"1349827586","file4":"1349827722","file5":"1349827751","file3":"1349827691"},"map_files_photo_id_array":[{"photo_id":"1349827751","filename":"file5"},{"photo_id":"1349827665","filename":"file2"},{"photo_id":"1349827722","filename":"file4"},{"photo_id":"1349827622","filename":"file1"},{"photo_id":"1349827586","filename":"file0"},{"photo_id":"1349827691","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349827665":["hashtag1","hashtag2"]},{"1349827722":["hashtag1","hashtag2"]},{"1349827691":["hashtag1","hashtag2"]},{"1349827586":["hashtag1","hashtag2"]},{"1349827751":["hashtag1","hashtag2"]},{"1349827622":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349827665, 1349827722, 1349827691, 1349827586, 1349827751, 1349827622)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.875866174697876 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:55:42.283100 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_35_6648.jpg', 2), ('/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_28_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_23_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_17_6643.jpg', 2), ('/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_11_5660.jpg', 2), ('/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_05_5670.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_35_6648.jpg', '/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_28_5638.jpg', '/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_23_5622.jpg', '/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_17_6643.jpg', '/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_11_5660.jpg', '/home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_05_5670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_35_6648.jpg /home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_28_5638.jpg /home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_23_5622.jpg /home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_17_6643.jpg /home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_11_5660.jpg /home/nano/Desktop/images/15042025/08/38/image_15042025_08_38_05_5670.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349827924","1349827956","1349828057","1349828018","1349827987","1349827894"],"photo_ids_order":["1349827894","1349827924","1349827956","1349827987","1349828018","1349828057"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/23cf988168f264705bf2ca6a04485cda.jpg","text":"TemporaryFile(/tmp/multipartBody719731264569312345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703804009,"filename":"image_15042025_08_38_28_5638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/909461580a7751509bd43e43a8b42af3.jpg","text":"TemporaryFile(/tmp/multipartBody7072427321758476061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703804009,"filename":"image_15042025_08_38_23_5622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0056660c43655c5ed4b7bb8507378b8a.jpg","text":"TemporaryFile(/tmp/multipartBody2547336226102277795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703804009,"filename":"image_15042025_08_38_05_5670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87db13f013047b5894fbb6ddc4d3f747.jpg","text":"TemporaryFile(/tmp/multipartBody3811090668264983233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703804009,"filename":"image_15042025_08_38_11_5660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6988b7ee52f2390a5003999c5c15993.jpg","text":"TemporaryFile(/tmp/multipartBody4389052748210227597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703804009,"filename":"image_15042025_08_38_17_6643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/27f5a8d66903893d9b34187f0b74c553.jpg","text":"TemporaryFile(/tmp/multipartBody6419748348938807653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703804009,"filename":"image_15042025_08_38_35_6648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349827956","file1":"1349827924","file0":"1349827894","file4":"1349828018","file5":"1349828057","file3":"1349827987"},"map_files_photo_id_array":[{"photo_id":"1349828057","filename":"file5"},{"photo_id":"1349827956","filename":"file2"},{"photo_id":"1349828018","filename":"file4"},{"photo_id":"1349827924","filename":"file1"},{"photo_id":"1349827894","filename":"file0"},{"photo_id":"1349827987","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349827924":["hashtag1","hashtag2"]},{"1349827956":["hashtag1","hashtag2"]},{"1349828057":["hashtag1","hashtag2"]},{"1349828018":["hashtag1","hashtag2"]},{"1349827987":["hashtag1","hashtag2"]},{"1349827894":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349827924, 1349827956, 1349828057, 1349828018, 1349827987, 1349827894)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.814866304397583 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:56:22.412173 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_59_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_53_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_47_5663.jpg', 2), ('/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_41_6698.jpg', 2), ('/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_35_5829.jpg', 2), ('/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_29_5820.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_59_6649.jpg', '/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_53_5622.jpg', '/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_47_5663.jpg', '/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_41_6698.jpg', '/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_35_5829.jpg', '/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_29_5820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_59_6649.jpg /home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_53_5622.jpg /home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_47_5663.jpg /home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_41_6698.jpg /home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_35_5829.jpg /home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_29_5820.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349828203","1349828325","1349828235","1349828294","1349828267","1349828377"],"photo_ids_order":["1349828203","1349828235","1349828267","1349828294","1349828325","1349828377"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eae6754c76c61b18c6d2663712e7277a.jpg","text":"TemporaryFile(/tmp/multipartBody5296503535532006963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703844158,"filename":"image_15042025_08_37_59_6649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80f87dda1c500abf66deae7ec71ce303.jpg","text":"TemporaryFile(/tmp/multipartBody5928371399163892489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703844158,"filename":"image_15042025_08_37_35_5829.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8b1f28afde61db18ca778d0a028183d.jpg","text":"TemporaryFile(/tmp/multipartBody5358549995931851019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703844158,"filename":"image_15042025_08_37_53_5622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d7fd340ee805f22bf969b46354c7246a.jpg","text":"TemporaryFile(/tmp/multipartBody2950269749208106747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703844158,"filename":"image_15042025_08_37_41_6698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ebce9a33c03ddd2816913e0726de58f.jpg","text":"TemporaryFile(/tmp/multipartBody8720161051684614992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703844158,"filename":"image_15042025_08_37_47_5663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0e4ecc6ed20d24a3ad2fcd88d978d1cf.jpg","text":"TemporaryFile(/tmp/multipartBody3453634498071098386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703844158,"filename":"image_15042025_08_37_29_5820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349828267","file1":"1349828235","file0":"1349828203","file4":"1349828325","file5":"1349828377","file3":"1349828294"},"map_files_photo_id_array":[{"photo_id":"1349828377","filename":"file5"},{"photo_id":"1349828267","filename":"file2"},{"photo_id":"1349828325","filename":"file4"},{"photo_id":"1349828235","filename":"file1"},{"photo_id":"1349828203","filename":"file0"},{"photo_id":"1349828294","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349828203":["hashtag1","hashtag2"]},{"1349828325":["hashtag1","hashtag2"]},{"1349828235":["hashtag1","hashtag2"]},{"1349828294":["hashtag1","hashtag2"]},{"1349828267":["hashtag1","hashtag2"]},{"1349828377":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349828203, 1349828325, 1349828235, 1349828294, 1349828267, 1349828377)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.38896417617798 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:57:03.179575 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_23_5813.jpg', 2), ('/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_17_5796.jpg', 2), ('/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_11_6882.jpg', 2), ('/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_04_5805.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_59_5734.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_53_5764.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_23_5813.jpg', '/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_17_5796.jpg', '/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_11_6882.jpg', '/home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_04_5805.jpg', '/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_59_5734.jpg', '/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_53_5764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_23_5813.jpg /home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_17_5796.jpg /home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_11_6882.jpg /home/nano/Desktop/images/15042025/08/37/image_15042025_08_37_04_5805.jpg /home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_59_5734.jpg /home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_53_5764.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349828685","1349828769","1349828715","1349828836","1349828938","1349828653"],"photo_ids_order":["1349828653","1349828685","1349828715","1349828769","1349828836","1349828938"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c9abb8bb3f625fa1ff67d3559f8a349.jpg","text":"TemporaryFile(/tmp/multipartBody7351662513667468711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703885014,"filename":"image_15042025_08_37_17_5796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8a9f0cd98d33a6c8bca7813a7aca7e2.jpg","text":"TemporaryFile(/tmp/multipartBody6431808403523148348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703885014,"filename":"image_15042025_08_37_04_5805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b0dd74518f4d9da5b0faa3cf2121116.jpg","text":"TemporaryFile(/tmp/multipartBody8070681332169514922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703885014,"filename":"image_15042025_08_37_11_6882.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bdbf51c01292acf1574c2b43f9909069.jpg","text":"TemporaryFile(/tmp/multipartBody8686961518757562039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703885014,"filename":"image_15042025_08_36_59_5734.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a6ee3d8bef9ac119d813634c4e51747.jpg","text":"TemporaryFile(/tmp/multipartBody2805002873169955275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703885014,"filename":"image_15042025_08_36_53_5764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f536f3d05bd5d691f31a598a81abfb0.jpg","text":"TemporaryFile(/tmp/multipartBody7259317900010760224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703885014,"filename":"image_15042025_08_37_23_5813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349828715","file1":"1349828685","file0":"1349828653","file4":"1349828836","file5":"1349828938","file3":"1349828769"},"map_files_photo_id_array":[{"photo_id":"1349828938","filename":"file5"},{"photo_id":"1349828715","filename":"file2"},{"photo_id":"1349828836","filename":"file4"},{"photo_id":"1349828685","filename":"file1"},{"photo_id":"1349828653","filename":"file0"},{"photo_id":"1349828769","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349828685":["hashtag1","hashtag2"]},{"1349828769":["hashtag1","hashtag2"]},{"1349828715":["hashtag1","hashtag2"]},{"1349828836":["hashtag1","hashtag2"]},{"1349828938":["hashtag1","hashtag2"]},{"1349828653":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349828685, 1349828769, 1349828715, 1349828836, 1349828938, 1349828653)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.3725905418396 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:57:42.572379 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_47_5814.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_41_5972.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_35_6844.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_29_5751.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_23_5835.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_17_5702.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_47_5814.jpg', '/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_41_5972.jpg', '/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_35_6844.jpg', '/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_29_5751.jpg', '/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_23_5835.jpg', '/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_17_5702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_47_5814.jpg /home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_41_5972.jpg /home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_35_6844.jpg /home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_29_5751.jpg /home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_23_5835.jpg /home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_17_5702.jpg Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:58:03.400251 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/58/image_15042025_09_58_59_6114.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_47_5814.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_41_5972.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_35_6844.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_29_5751.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_23_5835.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/58/image_15042025_09_58_59_6114.jpg', '/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_47_5814.jpg', '/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_41_5972.jpg', '/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_35_6844.jpg', '/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_29_5751.jpg', '/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_23_5835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/58/image_15042025_09_58_59_6114.jpg /home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_47_5814.jpg /home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_41_5972.jpg /home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_35_6844.jpg /home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_29_5751.jpg /home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_23_5835.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349829474","1349829615","1349829431","1349829506","1349829556","1349829457"],"photo_ids_order":["1349829431","1349829457","1349829474","1349829506","1349829556","1349829615"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a20dbb2888157bda0b04d465ff10d46e.jpg","text":"TemporaryFile(/tmp/multipartBody7958584060774493783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703945383,"filename":"image_15042025_08_36_41_5972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eaaad0e896ac64a717517c0d36b31f7e.jpg","text":"TemporaryFile(/tmp/multipartBody3565426007067527277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703945383,"filename":"image_15042025_08_36_23_5835.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd39a5eae82ea6db208ab58cdb0c8f53.jpg","text":"TemporaryFile(/tmp/multipartBody4799934853194924068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703945383,"filename":"image_15042025_09_58_59_6114.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/073e8c92023160f2c7db99b979b1d223.jpg","text":"TemporaryFile(/tmp/multipartBody6130171441045476517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703945383,"filename":"image_15042025_08_36_35_6844.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15cb2f426bdecc6eaf8d1226d347d6a6.jpg","text":"TemporaryFile(/tmp/multipartBody7126377370375518412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703945383,"filename":"image_15042025_08_36_29_5751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/636a36a058d48b5f2868d4cf06489c0e.jpg","text":"TemporaryFile(/tmp/multipartBody5057972485439725564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744703945383,"filename":"image_15042025_08_36_47_5814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349829474","file1":"1349829457","file0":"1349829431","file4":"1349829556","file5":"1349829615","file3":"1349829506"},"map_files_photo_id_array":[{"photo_id":"1349829615","filename":"file5"},{"photo_id":"1349829474","filename":"file2"},{"photo_id":"1349829556","filename":"file4"},{"photo_id":"1349829457","filename":"file1"},{"photo_id":"1349829431","filename":"file0"},{"photo_id":"1349829506","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349829474":["hashtag1","hashtag2"]},{"1349829615":["hashtag1","hashtag2"]},{"1349829431":["hashtag1","hashtag2"]},{"1349829506":["hashtag1","hashtag2"]},{"1349829556":["hashtag1","hashtag2"]},{"1349829457":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349829474, 1349829615, 1349829431, 1349829506, 1349829556, 1349829457)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.1138961315155 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:59:02.780395 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_17_5702.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_11_5829.jpg', 2), ('/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_05_6785.jpg', 2), ('/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_59_5744.jpg', 2), ('/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_53_5689.jpg', 2), ('/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_47_5833.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_17_5702.jpg', '/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_11_5829.jpg', '/home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_05_6785.jpg', '/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_59_5744.jpg', '/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_53_5689.jpg', '/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_47_5833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_17_5702.jpg /home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_11_5829.jpg /home/nano/Desktop/images/15042025/08/36/image_15042025_08_36_05_6785.jpg /home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_59_5744.jpg /home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_53_5689.jpg /home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_47_5833.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349829738","1349829725","1349829911","1349829827","1349829784","1349829868"],"photo_ids_order":["1349829725","1349829738","1349829784","1349829827","1349829868","1349829911"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/387a4cbcb4867d7bcdd453fab2264156.jpg","text":"TemporaryFile(/tmp/multipartBody5096545526526813552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704004738,"filename":"image_15042025_08_36_11_5829.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3104c8fdca6b393d9739e598f02abcc5.jpg","text":"TemporaryFile(/tmp/multipartBody6102927827508401116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704004738,"filename":"image_15042025_08_36_17_5702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b3337239b98d1ef7795f74518fc658c.jpg","text":"TemporaryFile(/tmp/multipartBody3987123181974347100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704004738,"filename":"image_15042025_08_35_47_5833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d454497f90bf74ebc66be77591e4a28.jpg","text":"TemporaryFile(/tmp/multipartBody2195338177016567981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704004738,"filename":"image_15042025_08_35_59_5744.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b95f42f11f821c518edb0e4026c3eaea.jpg","text":"TemporaryFile(/tmp/multipartBody4547074025151823362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704004738,"filename":"image_15042025_08_36_05_6785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/486863b86c2008e1a29987777b4ba139.jpg","text":"TemporaryFile(/tmp/multipartBody2374116851227333145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704004738,"filename":"image_15042025_08_35_53_5689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349829784","file1":"1349829738","file0":"1349829725","file4":"1349829868","file5":"1349829911","file3":"1349829827"},"map_files_photo_id_array":[{"photo_id":"1349829911","filename":"file5"},{"photo_id":"1349829784","filename":"file2"},{"photo_id":"1349829868","filename":"file4"},{"photo_id":"1349829738","filename":"file1"},{"photo_id":"1349829725","filename":"file0"},{"photo_id":"1349829827","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349829738":["hashtag1","hashtag2"]},{"1349829725":["hashtag1","hashtag2"]},{"1349829911":["hashtag1","hashtag2"]},{"1349829827":["hashtag1","hashtag2"]},{"1349829784":["hashtag1","hashtag2"]},{"1349829868":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349829738, 1349829725, 1349829911, 1349829827, 1349829784, 1349829868)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 34.45936298370361 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 09:59:42.058927 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_41_6725.jpg', 2), ('/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_35_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_29_5676.jpg', 2), ('/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_23_6679.jpg', 2), ('/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_17_5683.jpg', 2), ('/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_11_5669.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_41_6725.jpg', '/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_35_5622.jpg', '/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_29_5676.jpg', '/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_23_6679.jpg', '/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_17_5683.jpg', '/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_11_5669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_41_6725.jpg /home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_35_5622.jpg /home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_29_5676.jpg /home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_23_6679.jpg /home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_17_5683.jpg /home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_11_5669.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349830152","1349830227","1349830196","1349830109","1349830028","1349830072"],"photo_ids_order":["1349830028","1349830072","1349830109","1349830152","1349830196","1349830227"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2ad596ba2c76fe4d2d6d3727862f173.jpg","text":"TemporaryFile(/tmp/multipartBody221870537287509443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704043819,"filename":"image_15042025_08_35_23_6679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b5ae2c09bb1f163b942917a7fa219d8b.jpg","text":"TemporaryFile(/tmp/multipartBody2418913812350184560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704043819,"filename":"image_15042025_08_35_11_5669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69e3f194cf2e2fb871bf80740f98d820.jpg","text":"TemporaryFile(/tmp/multipartBody1139469444497350195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704043819,"filename":"image_15042025_08_35_17_5683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7bf01a041e6feda7c2ec5b5514219008.jpg","text":"TemporaryFile(/tmp/multipartBody4870204799585388379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704043819,"filename":"image_15042025_08_35_29_5676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/131ce48c5c2995f9a3a948c4c3f3c6da.jpg","text":"TemporaryFile(/tmp/multipartBody351111216097920508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704043819,"filename":"image_15042025_08_35_41_6725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c1b161e7934028011f7bbcf5f8cd80ce.jpg","text":"TemporaryFile(/tmp/multipartBody6135133091915845306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704043819,"filename":"image_15042025_08_35_35_5622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349830109","file1":"1349830072","file0":"1349830028","file4":"1349830196","file5":"1349830227","file3":"1349830152"},"map_files_photo_id_array":[{"photo_id":"1349830227","filename":"file5"},{"photo_id":"1349830109","filename":"file2"},{"photo_id":"1349830196","filename":"file4"},{"photo_id":"1349830072","filename":"file1"},{"photo_id":"1349830028","filename":"file0"},{"photo_id":"1349830152","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349830152":["hashtag1","hashtag2"]},{"1349830227":["hashtag1","hashtag2"]},{"1349830196":["hashtag1","hashtag2"]},{"1349830109":["hashtag1","hashtag2"]},{"1349830028":["hashtag1","hashtag2"]},{"1349830072":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349830152, 1349830227, 1349830196, 1349830109, 1349830028, 1349830072)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 37.24517369270325 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:00:22.153709 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_05_6632.jpg', 2), ('/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_59_5644.jpg', 2), ('/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_53_5663.jpg', 2), ('/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_47_6652.jpg', 2), ('/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_41_5664.jpg', 2), ('/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_35_5798.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_05_6632.jpg', '/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_59_5644.jpg', '/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_53_5663.jpg', '/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_47_6652.jpg', '/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_41_5664.jpg', '/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_35_5798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/35/image_15042025_08_35_05_6632.jpg /home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_59_5644.jpg /home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_53_5663.jpg /home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_47_6652.jpg /home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_41_5664.jpg /home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_35_5798.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349830359","1349830259","1349830396","1349830444","1349830366","1349830351"],"photo_ids_order":["1349830259","1349830351","1349830359","1349830366","1349830396","1349830444"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d065f6cb4c2ab7a0211ea4bac709911.jpg","text":"TemporaryFile(/tmp/multipartBody1556288648865866184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704083890,"filename":"image_15042025_08_34_53_5663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1db37998f74231e1017d3d5efb3cb466.jpg","text":"TemporaryFile(/tmp/multipartBody8109188425646696257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704083890,"filename":"image_15042025_08_35_05_6632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22feaaff411abdbefcf4dee610f56ca5.jpg","text":"TemporaryFile(/tmp/multipartBody8309638782263075616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704083890,"filename":"image_15042025_08_34_41_5664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ec21192b9d4478d85a8b773193552ba9.jpg","text":"TemporaryFile(/tmp/multipartBody8371417919197995627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704083890,"filename":"image_15042025_08_34_35_5798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86d7c66d802d6a8e54a361010e373321.jpg","text":"TemporaryFile(/tmp/multipartBody8578934745424405465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704083890,"filename":"image_15042025_08_34_47_6652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/467e383207f8830591090f925943320e.jpg","text":"TemporaryFile(/tmp/multipartBody8356764444917679307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704083890,"filename":"image_15042025_08_34_59_5644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349830359","file1":"1349830351","file0":"1349830259","file4":"1349830396","file5":"1349830444","file3":"1349830366"},"map_files_photo_id_array":[{"photo_id":"1349830444","filename":"file5"},{"photo_id":"1349830359","filename":"file2"},{"photo_id":"1349830396","filename":"file4"},{"photo_id":"1349830351","filename":"file1"},{"photo_id":"1349830259","filename":"file0"},{"photo_id":"1349830366","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349830359":["hashtag1","hashtag2"]},{"1349830259":["hashtag1","hashtag2"]},{"1349830396":["hashtag1","hashtag2"]},{"1349830444":["hashtag1","hashtag2"]},{"1349830366":["hashtag1","hashtag2"]},{"1349830351":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349830359, 1349830259, 1349830396, 1349830444, 1349830366, 1349830351)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 38.24852514266968 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:01:02.856119 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_29_6679.jpg', 2), ('/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_23_5623.jpg', 2), ('/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_17_5617.jpg', 2), ('/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_11_6656.jpg', 2), ('/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_05_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_59_5640.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_29_6679.jpg', '/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_23_5623.jpg', '/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_17_5617.jpg', '/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_11_6656.jpg', '/home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_05_5646.jpg', '/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_59_5640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_29_6679.jpg /home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_23_5623.jpg /home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_17_5617.jpg /home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_11_6656.jpg /home/nano/Desktop/images/15042025/08/34/image_15042025_08_34_05_5646.jpg /home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_59_5640.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349830575","1349830668","1349830647","1349830614","1349830685","1349830681"],"photo_ids_order":["1349830575","1349830614","1349830647","1349830668","1349830681","1349830685"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/009b6c47bc45914d31d4246a3b07f462.jpg","text":"TemporaryFile(/tmp/multipartBody5700191931856985429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704124652,"filename":"image_15042025_08_34_29_6679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f7dbcb9e63e3d304783c997fffdd3cc9.jpg","text":"TemporaryFile(/tmp/multipartBody4970423226072915832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704124652,"filename":"image_15042025_08_34_11_6656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04efec662b3716cff1c0ec746190a4b0.jpg","text":"TemporaryFile(/tmp/multipartBody7908298037412657906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704124652,"filename":"image_15042025_08_34_17_5617.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9353739b875e3a7a142d5c166c843d0.jpg","text":"TemporaryFile(/tmp/multipartBody8235746544098375050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704124652,"filename":"image_15042025_08_34_23_5623.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c99de7f019d0fa087d0d40c6aca2d96.jpg","text":"TemporaryFile(/tmp/multipartBody5366090530118148921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704124652,"filename":"image_15042025_08_33_59_5640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db7b60baac88885e6294a91048f7ff16.jpg","text":"TemporaryFile(/tmp/multipartBody8409121428352199896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704124652,"filename":"image_15042025_08_34_05_5646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349830647","file1":"1349830614","file0":"1349830575","file4":"1349830681","file5":"1349830685","file3":"1349830668"},"map_files_photo_id_array":[{"photo_id":"1349830685","filename":"file5"},{"photo_id":"1349830647","filename":"file2"},{"photo_id":"1349830681","filename":"file4"},{"photo_id":"1349830614","filename":"file1"},{"photo_id":"1349830575","filename":"file0"},{"photo_id":"1349830668","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349830575":["hashtag1","hashtag2"]},{"1349830668":["hashtag1","hashtag2"]},{"1349830647":["hashtag1","hashtag2"]},{"1349830614":["hashtag1","hashtag2"]},{"1349830685":["hashtag1","hashtag2"]},{"1349830681":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349830575, 1349830668, 1349830647, 1349830614, 1349830685, 1349830681)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.22515559196472 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:01:42.300761 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_53_6638.jpg', 2), ('/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_41_6636.jpg', 2), ('/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_34_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_29_5617.jpg', 2), ('/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_23_6671.jpg', 2), ('/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_17_5611.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_53_6638.jpg', '/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_41_6636.jpg', '/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_34_5632.jpg', '/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_29_5617.jpg', '/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_23_6671.jpg', '/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_17_5611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_53_6638.jpg /home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_41_6636.jpg /home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_34_5632.jpg /home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_29_5617.jpg /home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_23_6671.jpg /home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_17_5611.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349830835","1349830910","1349830963","1349830870","1349830867","1349830852"],"photo_ids_order":["1349830835","1349830852","1349830867","1349830870","1349830910","1349830963"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3e811c72923863db38ed93a9f8ae88e9.jpg","text":"TemporaryFile(/tmp/multipartBody4358843828586230606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704164043,"filename":"image_15042025_08_33_53_6638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb551c24f0e41d8702fb6b277811bccc.jpg","text":"TemporaryFile(/tmp/multipartBody5393254571827963593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704164043,"filename":"image_15042025_08_33_23_6671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/512a6f66e53e9760ea5e76234640b6aa.jpg","text":"TemporaryFile(/tmp/multipartBody4985374551745995614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704164043,"filename":"image_15042025_08_33_17_5611.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2c9f9ed3408c3b97e048e9116418a79.jpg","text":"TemporaryFile(/tmp/multipartBody3196450361542328204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704164043,"filename":"image_15042025_08_33_29_5617.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5518b8558e903a8c44e5b6b5ca7d281e.jpg","text":"TemporaryFile(/tmp/multipartBody685768383471571821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704164043,"filename":"image_15042025_08_33_34_5632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3da91fd092981e9e566610a86d74b539.jpg","text":"TemporaryFile(/tmp/multipartBody8896505734627956868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704164043,"filename":"image_15042025_08_33_41_6636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349830867","file1":"1349830852","file0":"1349830835","file4":"1349830910","file5":"1349830963","file3":"1349830870"},"map_files_photo_id_array":[{"photo_id":"1349830963","filename":"file5"},{"photo_id":"1349830867","filename":"file2"},{"photo_id":"1349830910","filename":"file4"},{"photo_id":"1349830852","filename":"file1"},{"photo_id":"1349830835","filename":"file0"},{"photo_id":"1349830870","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349830835":["hashtag1","hashtag2"]},{"1349830910":["hashtag1","hashtag2"]},{"1349830963":["hashtag1","hashtag2"]},{"1349830870":["hashtag1","hashtag2"]},{"1349830867":["hashtag1","hashtag2"]},{"1349830852":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349830835, 1349830910, 1349830963, 1349830870, 1349830867, 1349830852)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.418806314468384 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:02:22.421687 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_11_5709.jpg', 2), ('/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_05_5921.jpg', 2), ('/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_53_6635.jpg', 2), ('/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_47_5749.jpg', 2), ('/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_41_5863.jpg', 2), ('/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_35_5819.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_11_5709.jpg', '/home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_05_5921.jpg', '/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_53_6635.jpg', '/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_47_5749.jpg', '/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_41_5863.jpg', '/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_35_5819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_11_5709.jpg /home/nano/Desktop/images/15042025/08/33/image_15042025_08_33_05_5921.jpg /home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_53_6635.jpg /home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_47_5749.jpg /home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_41_5863.jpg /home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_35_5819.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349831171","1349831045","1349831249","1349831215","1349831071","1349831163"],"photo_ids_order":["1349831045","1349831071","1349831163","1349831171","1349831215","1349831249"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/feb361e7472211f91246fdedf647e634.jpg","text":"TemporaryFile(/tmp/multipartBody4486541971127677184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704204190,"filename":"image_15042025_08_32_47_5749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/859f894290a00c30b23a0af796cb64f3.jpg","text":"TemporaryFile(/tmp/multipartBody5513398340281222547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704204190,"filename":"image_15042025_08_33_11_5709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c8e9f4f3883397234cb0e46b99c702d.jpg","text":"TemporaryFile(/tmp/multipartBody2012828647286427158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704204190,"filename":"image_15042025_08_32_35_5819.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/46c643894d76a5b700677e4d8319ef47.jpg","text":"TemporaryFile(/tmp/multipartBody7064829404309536485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704204190,"filename":"image_15042025_08_32_41_5863.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/81a13bf8992035bb6d4801301bc52aea.jpg","text":"TemporaryFile(/tmp/multipartBody976946727351985444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704204190,"filename":"image_15042025_08_33_05_5921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ae64effa1651cfb36a664f07fb63ae6.jpg","text":"TemporaryFile(/tmp/multipartBody2519921917758820478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704204190,"filename":"image_15042025_08_32_53_6635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349831163","file1":"1349831071","file0":"1349831045","file4":"1349831215","file5":"1349831249","file3":"1349831171"},"map_files_photo_id_array":[{"photo_id":"1349831249","filename":"file5"},{"photo_id":"1349831163","filename":"file2"},{"photo_id":"1349831215","filename":"file4"},{"photo_id":"1349831071","filename":"file1"},{"photo_id":"1349831045","filename":"file0"},{"photo_id":"1349831171","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349831171":["hashtag1","hashtag2"]},{"1349831045":["hashtag1","hashtag2"]},{"1349831249":["hashtag1","hashtag2"]},{"1349831215":["hashtag1","hashtag2"]},{"1349831071":["hashtag1","hashtag2"]},{"1349831163":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349831171, 1349831045, 1349831249, 1349831215, 1349831071, 1349831163)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.6299889087677 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:03:22.623156 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/03/image_15042025_10_03_59_6115.jpg', 2), ('/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_29_5863.jpg', 2), ('/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_23_6206.jpg', 2), ('/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_17_5858.jpg', 2), ('/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_11_5903.jpg', 2), ('/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_05_6849.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/03/image_15042025_10_03_59_6115.jpg', '/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_29_5863.jpg', '/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_23_6206.jpg', '/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_17_5858.jpg', '/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_11_5903.jpg', '/home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_05_6849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/03/image_15042025_10_03_59_6115.jpg /home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_29_5863.jpg /home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_23_6206.jpg /home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_17_5858.jpg /home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_11_5903.jpg /home/nano/Desktop/images/15042025/08/32/image_15042025_08_32_05_6849.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349831439","1349831409","1349831468","1349831504","1349831414","1349831422"],"photo_ids_order":["1349831409","1349831414","1349831422","1349831439","1349831468","1349831504"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b938c278b226575afc84be8545651650.jpg","text":"TemporaryFile(/tmp/multipartBody7166849955648363154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704264494,"filename":"image_15042025_08_32_17_5858.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3873f756020f3aa76d672a9954447af6.jpg","text":"TemporaryFile(/tmp/multipartBody3069390573889590542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704264494,"filename":"image_15042025_10_03_59_6115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/974c4062f988b3a72dea53ac9862fcc3.jpg","text":"TemporaryFile(/tmp/multipartBody6859130388772396890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704264494,"filename":"image_15042025_08_32_11_5903.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c490a3e5cfb4546eb2838a8ab169210.jpg","text":"TemporaryFile(/tmp/multipartBody3684846705920441895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704264494,"filename":"image_15042025_08_32_05_6849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd0ab2428d6640120c7e6372f0f4797e.jpg","text":"TemporaryFile(/tmp/multipartBody7312459477206213893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704264494,"filename":"image_15042025_08_32_29_5863.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b63d4890f300dfa141d41b73a56eb5a.jpg","text":"TemporaryFile(/tmp/multipartBody8400126591840193729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704264494,"filename":"image_15042025_08_32_23_6206.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349831422","file1":"1349831414","file0":"1349831409","file4":"1349831468","file5":"1349831504","file3":"1349831439"},"map_files_photo_id_array":[{"photo_id":"1349831504","filename":"file5"},{"photo_id":"1349831422","filename":"file2"},{"photo_id":"1349831468","filename":"file4"},{"photo_id":"1349831414","filename":"file1"},{"photo_id":"1349831409","filename":"file0"},{"photo_id":"1349831439","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349831439":["hashtag1","hashtag2"]},{"1349831409":["hashtag1","hashtag2"]},{"1349831468":["hashtag1","hashtag2"]},{"1349831504":["hashtag1","hashtag2"]},{"1349831414":["hashtag1","hashtag2"]},{"1349831422":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349831439, 1349831409, 1349831468, 1349831504, 1349831414, 1349831422)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.51142907142639 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:04:03.535758 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_59_5813.jpg', 2), ('/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_53_5842.jpg', 2), ('/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_47_6096.jpg', 2), ('/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_35_5760.jpg', 2), ('/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_29_5801.jpg', 2), ('/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_23_5820.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_59_5813.jpg', '/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_53_5842.jpg', '/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_47_6096.jpg', '/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_35_5760.jpg', '/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_29_5801.jpg', '/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_23_5820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_59_5813.jpg /home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_53_5842.jpg /home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_47_6096.jpg /home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_35_5760.jpg /home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_29_5801.jpg /home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_23_5820.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349831952","1349831847","1349831795","1349831705","1349831911","1349831740"],"photo_ids_order":["1349831705","1349831740","1349831795","1349831847","1349831911","1349831952"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/016ca7649601533f71ae2d46f332e045.jpg","text":"TemporaryFile(/tmp/multipartBody5351768880337528324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704305397,"filename":"image_15042025_08_31_23_5820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe2147214529aa44e3696308b44d7a53.jpg","text":"TemporaryFile(/tmp/multipartBody5617290612724677064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704305397,"filename":"image_15042025_08_31_35_5760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/275a1a1b0f71b3fb79c14aab141bce78.jpg","text":"TemporaryFile(/tmp/multipartBody4367459312268573319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704305397,"filename":"image_15042025_08_31_47_6096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c081bb387fbce241e92336a633e9e7d.jpg","text":"TemporaryFile(/tmp/multipartBody5041156901639897909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704305397,"filename":"image_15042025_08_31_59_5813.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc483bfd8f14d886bc35c884696c6d7c.jpg","text":"TemporaryFile(/tmp/multipartBody5597925082228210496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704305397,"filename":"image_15042025_08_31_29_5801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb103db57cfb7d252cbf3a92cca6e015.jpg","text":"TemporaryFile(/tmp/multipartBody2224140883872552029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704305397,"filename":"image_15042025_08_31_53_5842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349831795","file1":"1349831740","file0":"1349831705","file4":"1349831911","file5":"1349831952","file3":"1349831847"},"map_files_photo_id_array":[{"photo_id":"1349831952","filename":"file5"},{"photo_id":"1349831795","filename":"file2"},{"photo_id":"1349831911","filename":"file4"},{"photo_id":"1349831740","filename":"file1"},{"photo_id":"1349831705","filename":"file0"},{"photo_id":"1349831847","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349831952":["hashtag1","hashtag2"]},{"1349831847":["hashtag1","hashtag2"]},{"1349831795":["hashtag1","hashtag2"]},{"1349831705":["hashtag1","hashtag2"]},{"1349831911":["hashtag1","hashtag2"]},{"1349831740":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349831952, 1349831847, 1349831795, 1349831705, 1349831911, 1349831740)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 36.895267724990845 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:04:42.647109 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_17_6823.jpg', 2), ('/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_11_5902.jpg', 2), ('/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_05_5937.jpg', 2), ('/home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_53_5922.jpg', 2), ('/home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_47_5865.jpg', 2), ('/home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_41_5869.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_17_6823.jpg', '/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_11_5902.jpg', '/home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_05_5937.jpg', '/home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_53_5922.jpg', '/home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_47_5865.jpg', '/home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_41_5869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_17_6823.jpg /home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_11_5902.jpg /home/nano/Desktop/images/15042025/08/31/image_15042025_08_31_05_5937.jpg /home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_53_5922.jpg /home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_47_5865.jpg /home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_41_5869.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349832068","1349832035","1349832001","1349832139","1349832106","1349832237"],"photo_ids_order":["1349832001","1349832035","1349832068","1349832106","1349832139","1349832237"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2dece9132f9d57846b78904bccc03808.jpg","text":"TemporaryFile(/tmp/multipartBody3168178744061411838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704344508,"filename":"image_15042025_08_31_05_5937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d7ccfe94b07fe10a2232fa7de581598.jpg","text":"TemporaryFile(/tmp/multipartBody3715964318171617117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704344508,"filename":"image_15042025_08_31_11_5902.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd204eac520bcaab24b467b41ab91f72.jpg","text":"TemporaryFile(/tmp/multipartBody3933850992213735686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704344508,"filename":"image_15042025_08_31_17_6823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c1ec19eab822d6e9a46777fd827b1147.jpg","text":"TemporaryFile(/tmp/multipartBody6447000249890689523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704344508,"filename":"image_15042025_08_30_47_5865.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/05adcfbb56febee1838c2ecfc316edda.jpg","text":"TemporaryFile(/tmp/multipartBody168967303109778430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704344508,"filename":"image_15042025_08_30_53_5922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21aed269e518d7f21d9f0f6ac4498d2b.jpg","text":"TemporaryFile(/tmp/multipartBody3583100052709875745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704344508,"filename":"image_15042025_08_30_41_5869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349832068","file1":"1349832035","file0":"1349832001","file4":"1349832139","file5":"1349832237","file3":"1349832106"},"map_files_photo_id_array":[{"photo_id":"1349832237","filename":"file5"},{"photo_id":"1349832068","filename":"file2"},{"photo_id":"1349832139","filename":"file4"},{"photo_id":"1349832035","filename":"file1"},{"photo_id":"1349832001","filename":"file0"},{"photo_id":"1349832106","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349832068":["hashtag1","hashtag2"]},{"1349832035":["hashtag1","hashtag2"]},{"1349832001":["hashtag1","hashtag2"]},{"1349832139":["hashtag1","hashtag2"]},{"1349832106":["hashtag1","hashtag2"]},{"1349832237":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349832068, 1349832035, 1349832001, 1349832139, 1349832106, 1349832237)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.5896737575531 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:05:41.782940 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_59_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_35_5842.jpg', 2), ('/home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_29_5877.jpg', 2), ('/home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_23_5849.jpg', 2), ('/home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_17_5963.jpg', 2), ('/home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_05_5769.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_59_5656.jpg', '/home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_35_5842.jpg', '/home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_29_5877.jpg', '/home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_23_5849.jpg', '/home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_17_5963.jpg', '/home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_05_5769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/09/35/image_15042025_09_35_59_5656.jpg /home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_35_5842.jpg /home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_29_5877.jpg /home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_23_5849.jpg /home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_17_5963.jpg /home/nano/Desktop/images/15042025/08/30/image_15042025_08_30_05_5769.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349832362","1349832521","1349832466","1349832439","1349832409","1349832375"],"photo_ids_order":["1349832362","1349832375","1349832409","1349832439","1349832466","1349832521"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/afb7d3610bcf81a7b98cce4030e7ae2b.jpg","text":"TemporaryFile(/tmp/multipartBody3069185497091277558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704403648,"filename":"image_15042025_09_35_59_5656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c8d08adeafd1cb586496e2510e19c4e3.jpg","text":"TemporaryFile(/tmp/multipartBody4490417849155024854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704403648,"filename":"image_15042025_08_30_05_5769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c905dcf186080d4f34b4f5a1e37777d.jpg","text":"TemporaryFile(/tmp/multipartBody2582033825301377435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704403648,"filename":"image_15042025_08_30_17_5963.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d87932bfecd713ebbed6eb3813796c7c.jpg","text":"TemporaryFile(/tmp/multipartBody5501810813569880260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704403648,"filename":"image_15042025_08_30_23_5849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1beb2511f13210af19e140701a688ddb.jpg","text":"TemporaryFile(/tmp/multipartBody4985248634896611139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704403648,"filename":"image_15042025_08_30_29_5877.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cdb12ac843e2d09fb9b31ae3758a3307.jpg","text":"TemporaryFile(/tmp/multipartBody1010224044673820868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704403648,"filename":"image_15042025_08_30_35_5842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349832409","file1":"1349832375","file0":"1349832362","file4":"1349832466","file5":"1349832521","file3":"1349832439"},"map_files_photo_id_array":[{"photo_id":"1349832521","filename":"file5"},{"photo_id":"1349832409","filename":"file2"},{"photo_id":"1349832466","filename":"file4"},{"photo_id":"1349832375","filename":"file1"},{"photo_id":"1349832362","filename":"file0"},{"photo_id":"1349832439","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349832362":["hashtag1","hashtag2"]},{"1349832521":["hashtag1","hashtag2"]},{"1349832466":["hashtag1","hashtag2"]},{"1349832439":["hashtag1","hashtag2"]},{"1349832409":["hashtag1","hashtag2"]},{"1349832375":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349832362, 1349832521, 1349832466, 1349832439, 1349832409, 1349832375)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.092994689941406 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:06:21.888796 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_59_6826.jpg', 2), ('/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_53_5866.jpg', 2), ('/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_47_5858.jpg', 2), ('/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_41_5833.jpg', 2), ('/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_35_5901.jpg', 2), ('/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_29_5845.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_59_6826.jpg', '/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_53_5866.jpg', '/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_47_5858.jpg', '/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_41_5833.jpg', '/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_35_5901.jpg', '/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_29_5845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_59_6826.jpg /home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_53_5866.jpg /home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_47_5858.jpg /home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_41_5833.jpg /home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_35_5901.jpg /home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_29_5845.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349832794","1349832755","1349832727","1349832750","1349832732","1349832636"],"photo_ids_order":["1349832636","1349832727","1349832732","1349832750","1349832755","1349832794"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/496bc0648d58495187ea593e989bd2fb.jpg","text":"TemporaryFile(/tmp/multipartBody2378430095635355276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704443723,"filename":"image_15042025_08_29_29_5845.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/775bcb2de21374f8d0f31f1f14db82ae.jpg","text":"TemporaryFile(/tmp/multipartBody4910855796565330678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704443723,"filename":"image_15042025_08_29_35_5901.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/047ec49086f9262ac5183403017a7f90.jpg","text":"TemporaryFile(/tmp/multipartBody8805746610107275836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704443723,"filename":"image_15042025_08_29_53_5866.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d204f67189c7737624bc5c59e4477f67.jpg","text":"TemporaryFile(/tmp/multipartBody2790000506830603605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704443723,"filename":"image_15042025_08_29_41_5833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c696a17a1be7d6a2f4e59b72ec374f51.jpg","text":"TemporaryFile(/tmp/multipartBody2786813512804037207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704443723,"filename":"image_15042025_08_29_47_5858.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65be7ff35004982828860df9a5b750a3.jpg","text":"TemporaryFile(/tmp/multipartBody8681140706046547118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704443723,"filename":"image_15042025_08_29_59_6826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349832732","file1":"1349832727","file0":"1349832636","file4":"1349832755","file5":"1349832794","file3":"1349832750"},"map_files_photo_id_array":[{"photo_id":"1349832794","filename":"file5"},{"photo_id":"1349832732","filename":"file2"},{"photo_id":"1349832755","filename":"file4"},{"photo_id":"1349832727","filename":"file1"},{"photo_id":"1349832636","filename":"file0"},{"photo_id":"1349832750","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349832794":["hashtag1","hashtag2"]},{"1349832755":["hashtag1","hashtag2"]},{"1349832727":["hashtag1","hashtag2"]},{"1349832750":["hashtag1","hashtag2"]},{"1349832732":["hashtag1","hashtag2"]},{"1349832636":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349832794, 1349832755, 1349832727, 1349832750, 1349832732, 1349832636)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.68299889564514 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:07:02.674773 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_23_5838.jpg', 2), ('/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_17_6911.jpg', 2), ('/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_10_5670.jpg', 2), ('/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_05_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_59_6633.jpg', 2), ('/home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_53_5734.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_23_5838.jpg', '/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_17_6911.jpg', '/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_10_5670.jpg', '/home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_05_5639.jpg', '/home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_59_6633.jpg', '/home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_53_5734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_23_5838.jpg /home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_17_6911.jpg /home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_10_5670.jpg /home/nano/Desktop/images/15042025/08/29/image_15042025_08_29_05_5639.jpg /home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_59_6633.jpg /home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_53_5734.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349833393","1349833114","1349833452","1349833275","1349833311","1349833355"],"photo_ids_order":["1349833114","1349833275","1349833311","1349833355","1349833393","1349833452"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df9784f70b0d68ac7756fa2aeee07426.jpg","text":"TemporaryFile(/tmp/multipartBody1137850355192597510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704484478,"filename":"image_15042025_08_28_59_6633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f55cdae66819d8b38c6093c2b20f4631.jpg","text":"TemporaryFile(/tmp/multipartBody6783551539844796588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704484478,"filename":"image_15042025_08_29_23_5838.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70887f2c54f738525d9254cdde6ab36c.jpg","text":"TemporaryFile(/tmp/multipartBody2147432724884946805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704484478,"filename":"image_15042025_08_28_53_5734.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e6ec5fef583254e98c91300d0ed48d31.jpg","text":"TemporaryFile(/tmp/multipartBody2384098422644487441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704484478,"filename":"image_15042025_08_29_17_6911.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/830acd65f4630973c7d5f589f1ed349f.jpg","text":"TemporaryFile(/tmp/multipartBody1474867504570913045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704484478,"filename":"image_15042025_08_29_10_5670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ac5ed4c07aad6a5e5116dbf4e580dfa.jpg","text":"TemporaryFile(/tmp/multipartBody8809725349504727471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704484478,"filename":"image_15042025_08_29_05_5639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349833311","file1":"1349833275","file0":"1349833114","file4":"1349833393","file5":"1349833452","file3":"1349833355"},"map_files_photo_id_array":[{"photo_id":"1349833452","filename":"file5"},{"photo_id":"1349833311","filename":"file2"},{"photo_id":"1349833393","filename":"file4"},{"photo_id":"1349833275","filename":"file1"},{"photo_id":"1349833114","filename":"file0"},{"photo_id":"1349833355","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349833393":["hashtag1","hashtag2"]},{"1349833114":["hashtag1","hashtag2"]},{"1349833452":["hashtag1","hashtag2"]},{"1349833275":["hashtag1","hashtag2"]},{"1349833311":["hashtag1","hashtag2"]},{"1349833355":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349833393, 1349833114, 1349833452, 1349833275, 1349833311, 1349833355)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 37.31009387969971 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:07:42.012081 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_23_5706.jpg', 2), ('/home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_17_5605.jpg', 2), ('/home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_11_6691.jpg', 2), ('/home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_05_5672.jpg', 2), ('/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_59_5641.jpg', 2), ('/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_53_6631.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_23_5706.jpg', '/home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_17_5605.jpg', '/home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_11_6691.jpg', '/home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_05_5672.jpg', '/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_59_5641.jpg', '/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_53_6631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_23_5706.jpg /home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_17_5605.jpg /home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_11_6691.jpg /home/nano/Desktop/images/15042025/08/28/image_15042025_08_28_05_5672.jpg /home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_59_5641.jpg /home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_53_6631.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349833835","1349833740","1349833641","1349833671","1349833800","1349833701"],"photo_ids_order":["1349833641","1349833671","1349833701","1349833740","1349833800","1349833835"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bee5fb4f0a0b89f299028dd043649583.jpg","text":"TemporaryFile(/tmp/multipartBody8978742541299596954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704523755,"filename":"image_15042025_08_27_53_6631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f747be65533f0addb59e4f303787215c.jpg","text":"TemporaryFile(/tmp/multipartBody5897992880987869726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704523755,"filename":"image_15042025_08_28_05_5672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d681f0cd3d6fee8a7268c44404848e99.jpg","text":"TemporaryFile(/tmp/multipartBody2096472783529403827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704523755,"filename":"image_15042025_08_28_23_5706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2601f0b1d81cd1122b06d0785a2c9290.jpg","text":"TemporaryFile(/tmp/multipartBody5452171681213183380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704523755,"filename":"image_15042025_08_28_17_5605.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/774498ef9a24447fa7fdd5f2932f6ea5.jpg","text":"TemporaryFile(/tmp/multipartBody8833579598423570732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704523755,"filename":"image_15042025_08_27_59_5641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e655eab2488ae5900e7085b0a5a80531.jpg","text":"TemporaryFile(/tmp/multipartBody1711244729527296486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704523755,"filename":"image_15042025_08_28_11_6691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349833701","file1":"1349833671","file0":"1349833641","file4":"1349833800","file5":"1349833835","file3":"1349833740"},"map_files_photo_id_array":[{"photo_id":"1349833835","filename":"file5"},{"photo_id":"1349833701","filename":"file2"},{"photo_id":"1349833800","filename":"file4"},{"photo_id":"1349833671","filename":"file1"},{"photo_id":"1349833641","filename":"file0"},{"photo_id":"1349833740","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349833835":["hashtag1","hashtag2"]},{"1349833740":["hashtag1","hashtag2"]},{"1349833641":["hashtag1","hashtag2"]},{"1349833671":["hashtag1","hashtag2"]},{"1349833800":["hashtag1","hashtag2"]},{"1349833701":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349833835, 1349833740, 1349833641, 1349833671, 1349833800, 1349833701)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.726008892059326 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:08:22.149795 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/08/image_15042025_10_08_59_6056.jpg', 2), ('/home/nano/Desktop/images/15042025/10/05/image_15042025_10_05_59_6161.jpg', 2), ('/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_47_5619.jpg', 2), ('/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_41_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_35_6625.jpg', 2), ('/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_23_6644.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/08/image_15042025_10_08_59_6056.jpg', '/home/nano/Desktop/images/15042025/10/05/image_15042025_10_05_59_6161.jpg', '/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_47_5619.jpg', '/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_41_5633.jpg', '/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_35_6625.jpg', '/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_23_6644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/08/image_15042025_10_08_59_6056.jpg /home/nano/Desktop/images/15042025/10/05/image_15042025_10_05_59_6161.jpg /home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_47_5619.jpg /home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_41_5633.jpg /home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_35_6625.jpg /home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_23_6644.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349833990","1349833901","1349833924","1349833956","1349834060","1349833911"],"photo_ids_order":["1349833901","1349833911","1349833924","1349833956","1349833990","1349834060"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2c49d1834840d89e21ae09045cc16bd.jpg","text":"TemporaryFile(/tmp/multipartBody6734372755241537913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704563919,"filename":"image_15042025_08_27_35_6625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4dc9dc19bd54b73c940ecd3a5bde261.jpg","text":"TemporaryFile(/tmp/multipartBody1807723854561206566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704563919,"filename":"image_15042025_10_08_59_6056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9f94810fcf7c05d8bf125e528773028.jpg","text":"TemporaryFile(/tmp/multipartBody2642986972099437769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704563919,"filename":"image_15042025_08_27_47_5619.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/99eac6b40abfac370e705c00d1ccdb91.jpg","text":"TemporaryFile(/tmp/multipartBody967366344919266880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704563919,"filename":"image_15042025_08_27_41_5633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d445dbf3f997044da405e2ebf14b68cc.jpg","text":"TemporaryFile(/tmp/multipartBody3782920148650040660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704563919,"filename":"image_15042025_08_27_23_6644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/752bfc69f0daa5e4d5b1f283e2659b4f.jpg","text":"TemporaryFile(/tmp/multipartBody5997652693190558125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704563919,"filename":"image_15042025_10_05_59_6161.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349833924","file1":"1349833911","file0":"1349833901","file4":"1349833990","file5":"1349834060","file3":"1349833956"},"map_files_photo_id_array":[{"photo_id":"1349834060","filename":"file5"},{"photo_id":"1349833924","filename":"file2"},{"photo_id":"1349833990","filename":"file4"},{"photo_id":"1349833911","filename":"file1"},{"photo_id":"1349833901","filename":"file0"},{"photo_id":"1349833956","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349833990":["hashtag1","hashtag2"]},{"1349833901":["hashtag1","hashtag2"]},{"1349833924":["hashtag1","hashtag2"]},{"1349833956":["hashtag1","hashtag2"]},{"1349834060":["hashtag1","hashtag2"]},{"1349833911":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349833990, 1349833901, 1349833924, 1349833956, 1349834060, 1349833911)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 37.74020981788635 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:09:02.998444 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_16_5702.jpg', 2), ('/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_11_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_05_6656.jpg', 2), ('/home/nano/Desktop/images/15042025/08/26/image_15042025_08_26_58_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/08/26/image_15042025_08_26_53_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/08/26/image_15042025_08_26_17_5694.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_16_5702.jpg', '/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_11_5635.jpg', '/home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_05_6656.jpg', '/home/nano/Desktop/images/15042025/08/26/image_15042025_08_26_58_5639.jpg', '/home/nano/Desktop/images/15042025/08/26/image_15042025_08_26_53_5639.jpg', '/home/nano/Desktop/images/15042025/08/26/image_15042025_08_26_17_5694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_16_5702.jpg /home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_11_5635.jpg /home/nano/Desktop/images/15042025/08/27/image_15042025_08_27_05_6656.jpg /home/nano/Desktop/images/15042025/08/26/image_15042025_08_26_58_5639.jpg /home/nano/Desktop/images/15042025/08/26/image_15042025_08_26_53_5639.jpg /home/nano/Desktop/images/15042025/08/26/image_15042025_08_26_17_5694.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349834197","1349834298","1349834370","1349834387","1349834267","1349834231"],"photo_ids_order":["1349834197","1349834231","1349834267","1349834298","1349834370","1349834387"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/067c25a1f5b1f21391cad3c02fcd627c.jpg","text":"TemporaryFile(/tmp/multipartBody2350318308642805340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704604774,"filename":"image_15042025_08_27_16_5702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d156a5bfbd65254d1af06a0268896a5b.jpg","text":"TemporaryFile(/tmp/multipartBody3732010126023763284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704604774,"filename":"image_15042025_08_26_58_5639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b631575d5dbc89356019d0325e10dcd.jpg","text":"TemporaryFile(/tmp/multipartBody1419461367826918829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704604774,"filename":"image_15042025_08_26_53_5639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f7d5337640fb93530761847d82846734.jpg","text":"TemporaryFile(/tmp/multipartBody6270591709478962952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704604774,"filename":"image_15042025_08_26_17_5694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ad718f948bbd76ea53e2cf7ade99184.jpg","text":"TemporaryFile(/tmp/multipartBody3576281869211671867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704604774,"filename":"image_15042025_08_27_05_6656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4704c3868bfbf9a203484e7caaadd771.jpg","text":"TemporaryFile(/tmp/multipartBody7718218888579384071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704604774,"filename":"image_15042025_08_27_11_5635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349834267","file1":"1349834231","file0":"1349834197","file4":"1349834370","file5":"1349834387","file3":"1349834298"},"map_files_photo_id_array":[{"photo_id":"1349834387","filename":"file5"},{"photo_id":"1349834267","filename":"file2"},{"photo_id":"1349834370","filename":"file4"},{"photo_id":"1349834231","filename":"file1"},{"photo_id":"1349834197","filename":"file0"},{"photo_id":"1349834298","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349834197":["hashtag1","hashtag2"]},{"1349834298":["hashtag1","hashtag2"]},{"1349834370":["hashtag1","hashtag2"]},{"1349834387":["hashtag1","hashtag2"]},{"1349834267":["hashtag1","hashtag2"]},{"1349834231":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349834197, 1349834298, 1349834370, 1349834387, 1349834267, 1349834231)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 35.90574240684509 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:09:42.256969 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/26/image_15042025_08_26_11_5811.jpg', 2), ('/home/nano/Desktop/images/15042025/08/26/image_15042025_08_26_05_6795.jpg', 2), ('/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_59_5952.jpg', 2), ('/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_53_5894.jpg', 2), ('/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_47_5734.jpg', 2), ('/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_41_6045.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/26/image_15042025_08_26_11_5811.jpg', '/home/nano/Desktop/images/15042025/08/26/image_15042025_08_26_05_6795.jpg', '/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_59_5952.jpg', '/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_53_5894.jpg', '/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_47_5734.jpg', '/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_41_6045.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/26/image_15042025_08_26_11_5811.jpg /home/nano/Desktop/images/15042025/08/26/image_15042025_08_26_05_6795.jpg /home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_59_5952.jpg /home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_53_5894.jpg /home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_47_5734.jpg /home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_41_6045.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349834476","1349834407","1349834424","1349834433","1349834427","1349834447"],"photo_ids_order":["1349834407","1349834424","1349834427","1349834433","1349834447","1349834476"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c739180278273208b8d372b95423f5fb.jpg","text":"TemporaryFile(/tmp/multipartBody8930275968091160740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704644070,"filename":"image_15042025_08_25_41_6045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/89453f924f5b5332d0529ec663ceabe5.jpg","text":"TemporaryFile(/tmp/multipartBody8115713168304506015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704644070,"filename":"image_15042025_08_26_11_5811.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b55b88f515d6dcb63a2c6fe98fd1dc50.jpg","text":"TemporaryFile(/tmp/multipartBody7345721930582612538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704644070,"filename":"image_15042025_08_26_05_6795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3fe74f6ef6a61a7235700d0bdcefe2f6.jpg","text":"TemporaryFile(/tmp/multipartBody8688961754032500238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704644070,"filename":"image_15042025_08_25_53_5894.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2b4f3dd8cafaaf7ce99c1bf7635c3659.jpg","text":"TemporaryFile(/tmp/multipartBody1574184582539233293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704644070,"filename":"image_15042025_08_25_59_5952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e80d42aefb98cbfff7ab3f2410e43308.jpg","text":"TemporaryFile(/tmp/multipartBody4363081348723393636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704644070,"filename":"image_15042025_08_25_47_5734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349834427","file1":"1349834424","file0":"1349834407","file4":"1349834447","file5":"1349834476","file3":"1349834433"},"map_files_photo_id_array":[{"photo_id":"1349834476","filename":"file5"},{"photo_id":"1349834427","filename":"file2"},{"photo_id":"1349834447","filename":"file4"},{"photo_id":"1349834424","filename":"file1"},{"photo_id":"1349834407","filename":"file0"},{"photo_id":"1349834433","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349834476":["hashtag1","hashtag2"]},{"1349834407":["hashtag1","hashtag2"]},{"1349834424":["hashtag1","hashtag2"]},{"1349834433":["hashtag1","hashtag2"]},{"1349834427":["hashtag1","hashtag2"]},{"1349834447":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349834476, 1349834407, 1349834424, 1349834433, 1349834427, 1349834447)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.032433032989502 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:10:22.398695 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_35_5987.jpg', 2), ('/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_29_5842.jpg', 2), ('/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_23_5755.jpg', 2), ('/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_17_5949.jpg', 2), ('/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_11_6819.jpg', 2), ('/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_05_5824.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_35_5987.jpg', '/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_29_5842.jpg', '/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_23_5755.jpg', '/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_17_5949.jpg', '/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_11_6819.jpg', '/home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_05_5824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_35_5987.jpg /home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_29_5842.jpg /home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_23_5755.jpg /home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_17_5949.jpg /home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_11_6819.jpg /home/nano/Desktop/images/15042025/08/25/image_15042025_08_25_05_5824.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349834587","1349834580","1349834574","1349834568","1349834594","1349834561"],"photo_ids_order":["1349834561","1349834568","1349834574","1349834580","1349834587","1349834594"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e0f1ad28d609954254252691b4e76d14.jpg","text":"TemporaryFile(/tmp/multipartBody372531131333935008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704684247,"filename":"image_15042025_08_25_11_6819.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45764ace6c202a49e20ef13d0a155334.jpg","text":"TemporaryFile(/tmp/multipartBody9120764654711493234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704684247,"filename":"image_15042025_08_25_17_5949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/36f0bb3f86b7d9ab0b28238e3a9ee52c.jpg","text":"TemporaryFile(/tmp/multipartBody282033235905540153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704684247,"filename":"image_15042025_08_25_23_5755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7134f840f24e287c5c81b9603ce99215.jpg","text":"TemporaryFile(/tmp/multipartBody1474201779358608034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704684247,"filename":"image_15042025_08_25_29_5842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/01b3dfbfa22281c37bf1fbf51d2276fd.jpg","text":"TemporaryFile(/tmp/multipartBody7780790544159104305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704684247,"filename":"image_15042025_08_25_05_5824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b3813efae5b3773fc343f658849f5182.jpg","text":"TemporaryFile(/tmp/multipartBody3458804781952295660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704684247,"filename":"image_15042025_08_25_35_5987.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349834574","file1":"1349834568","file0":"1349834561","file4":"1349834587","file5":"1349834594","file3":"1349834580"},"map_files_photo_id_array":[{"photo_id":"1349834594","filename":"file5"},{"photo_id":"1349834574","filename":"file2"},{"photo_id":"1349834587","filename":"file4"},{"photo_id":"1349834568","filename":"file1"},{"photo_id":"1349834561","filename":"file0"},{"photo_id":"1349834580","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349834587":["hashtag1","hashtag2"]},{"1349834580":["hashtag1","hashtag2"]},{"1349834574":["hashtag1","hashtag2"]},{"1349834568":["hashtag1","hashtag2"]},{"1349834594":["hashtag1","hashtag2"]},{"1349834561":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349834587, 1349834580, 1349834574, 1349834568, 1349834594, 1349834561)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.77603054046631 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:11:03.126121 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_59_5920.jpg', 2), ('/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_53_5989.jpg', 2), ('/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_47_6010.jpg', 2), ('/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_41_5829.jpg', 2), ('/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_35_6076.jpg', 2), ('/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_29_6103.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_59_5920.jpg', '/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_53_5989.jpg', '/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_47_6010.jpg', '/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_41_5829.jpg', '/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_35_6076.jpg', '/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_29_6103.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_59_5920.jpg /home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_53_5989.jpg /home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_47_6010.jpg /home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_41_5829.jpg /home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_35_6076.jpg /home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_29_6103.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349834618","1349834650","1349834644","1349834634","1349834627","1349834612"],"photo_ids_order":["1349834612","1349834618","1349834627","1349834634","1349834644","1349834650"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ba56f32689d3d937570dc4f06478ef3.jpg","text":"TemporaryFile(/tmp/multipartBody585192801930530876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704725069,"filename":"image_15042025_08_24_53_5989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/983f681bd382abcbe3947a1fc04c6682.jpg","text":"TemporaryFile(/tmp/multipartBody8245377071551780072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704725069,"filename":"image_15042025_08_24_29_6103.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/50e90ca4f85adb4e62580064cf5b3480.jpg","text":"TemporaryFile(/tmp/multipartBody5343310795695043918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704725069,"filename":"image_15042025_08_24_35_6076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4bd82749e25179c38f3e2a6b1e854e0d.jpg","text":"TemporaryFile(/tmp/multipartBody6903845821512067144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704725069,"filename":"image_15042025_08_24_41_5829.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e42d26f7d03409d427a9b5ddcb0083ce.jpg","text":"TemporaryFile(/tmp/multipartBody8112503464752240998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704725069,"filename":"image_15042025_08_24_47_6010.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d20f6b1a8167e8e460bbcb629b15890.jpg","text":"TemporaryFile(/tmp/multipartBody5044838286043748833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704725069,"filename":"image_15042025_08_24_59_5920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349834627","file1":"1349834618","file0":"1349834612","file4":"1349834644","file5":"1349834650","file3":"1349834634"},"map_files_photo_id_array":[{"photo_id":"1349834650","filename":"file5"},{"photo_id":"1349834627","filename":"file2"},{"photo_id":"1349834644","filename":"file4"},{"photo_id":"1349834618","filename":"file1"},{"photo_id":"1349834612","filename":"file0"},{"photo_id":"1349834634","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349834618":["hashtag1","hashtag2"]},{"1349834650":["hashtag1","hashtag2"]},{"1349834644":["hashtag1","hashtag2"]},{"1349834634":["hashtag1","hashtag2"]},{"1349834627":["hashtag1","hashtag2"]},{"1349834612":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349834618, 1349834650, 1349834644, 1349834634, 1349834627, 1349834612)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.891965866088867 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:11:42.494558 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/08/image_15042025_10_08_35_6052.jpg', 2), ('/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_23_5740.jpg', 2), ('/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_17_5779.jpg', 2), ('/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_11_5938.jpg', 2), ('/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_05_6216.jpg', 2), ('/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_59_6058.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/08/image_15042025_10_08_35_6052.jpg', '/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_23_5740.jpg', '/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_17_5779.jpg', '/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_11_5938.jpg', '/home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_05_6216.jpg', '/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_59_6058.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/08/image_15042025_10_08_35_6052.jpg /home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_23_5740.jpg /home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_17_5779.jpg /home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_11_5938.jpg /home/nano/Desktop/images/15042025/08/24/image_15042025_08_24_05_6216.jpg /home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_59_6058.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349834677","1349834758","1349834670","1349834751","1349834684","1349834747"],"photo_ids_order":["1349834670","1349834677","1349834684","1349834747","1349834751","1349834758"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c523b946b83e695018ae0fdf4dab2895.jpg","text":"TemporaryFile(/tmp/multipartBody6977326971514139319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704764348,"filename":"image_15042025_08_24_23_5740.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20b92e236b70a3b95f562b37dde9616c.jpg","text":"TemporaryFile(/tmp/multipartBody9048416671774187481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704764348,"filename":"image_15042025_08_23_59_6058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/957c63198ad16e41c582d9ae6236e6dd.jpg","text":"TemporaryFile(/tmp/multipartBody598891700527172926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704764348,"filename":"image_15042025_10_08_35_6052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/73eb52430f8c2057e51639abf5850637.jpg","text":"TemporaryFile(/tmp/multipartBody5536672269301061293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704764348,"filename":"image_15042025_08_24_05_6216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e49cfbf1be000b4aae24ada36150d4a2.jpg","text":"TemporaryFile(/tmp/multipartBody6857105234113464008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704764348,"filename":"image_15042025_08_24_17_5779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c2f8b4bd3b97f4c96591f1606a1add5.jpg","text":"TemporaryFile(/tmp/multipartBody70810550291365696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704764348,"filename":"image_15042025_08_24_11_5938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349834684","file1":"1349834677","file0":"1349834670","file4":"1349834751","file5":"1349834758","file3":"1349834747"},"map_files_photo_id_array":[{"photo_id":"1349834758","filename":"file5"},{"photo_id":"1349834684","filename":"file2"},{"photo_id":"1349834751","filename":"file4"},{"photo_id":"1349834677","filename":"file1"},{"photo_id":"1349834670","filename":"file0"},{"photo_id":"1349834747","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349834677":["hashtag1","hashtag2"]},{"1349834758":["hashtag1","hashtag2"]},{"1349834670":["hashtag1","hashtag2"]},{"1349834751":["hashtag1","hashtag2"]},{"1349834684":["hashtag1","hashtag2"]},{"1349834747":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349834677, 1349834758, 1349834670, 1349834751, 1349834684, 1349834747)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 49.90974426269531 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:12:42.617993 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/11/image_15042025_10_11_05_6153.jpg', 2), ('/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_53_5736.jpg', 2), ('/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_47_6929.jpg', 2), ('/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_40_5855.jpg', 2), ('/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_28_5773.jpg', 2), ('/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_23_5836.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/11/image_15042025_10_11_05_6153.jpg', '/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_53_5736.jpg', '/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_47_6929.jpg', '/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_40_5855.jpg', '/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_28_5773.jpg', '/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_23_5836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/11/image_15042025_10_11_05_6153.jpg /home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_53_5736.jpg /home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_47_6929.jpg /home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_40_5855.jpg /home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_28_5773.jpg /home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_23_5836.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349835055","1349834965","1349834932","1349835004","1349835081","1349835068"],"photo_ids_order":["1349834932","1349834965","1349835004","1349835055","1349835068","1349835081"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f88a4da66c53724078320bb43f8c5165.jpg","text":"TemporaryFile(/tmp/multipartBody5943771964748482608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704824535,"filename":"image_15042025_08_23_40_5855.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6d9607ca774669ea6a41625ee898c274.jpg","text":"TemporaryFile(/tmp/multipartBody5565057955254862687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704824535,"filename":"image_15042025_08_23_53_5736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1625886b53265175338cf0079ddbed5d.jpg","text":"TemporaryFile(/tmp/multipartBody6279812705937671038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704824535,"filename":"image_15042025_10_11_05_6153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5a03c4c3926ae4181124f246883da82.jpg","text":"TemporaryFile(/tmp/multipartBody657099741486440745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704824535,"filename":"image_15042025_08_23_47_6929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca7a7cd40bc9cc4ff432eeeec47a8e29.jpg","text":"TemporaryFile(/tmp/multipartBody8232924201892887920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704824535,"filename":"image_15042025_08_23_23_5836.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab7f7f29675bd2c4e11d971e3d991cff.jpg","text":"TemporaryFile(/tmp/multipartBody3932302247602329214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704824535,"filename":"image_15042025_08_23_28_5773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349835004","file1":"1349834965","file0":"1349834932","file4":"1349835068","file5":"1349835081","file3":"1349835055"},"map_files_photo_id_array":[{"photo_id":"1349835081","filename":"file5"},{"photo_id":"1349835004","filename":"file2"},{"photo_id":"1349835068","filename":"file4"},{"photo_id":"1349834965","filename":"file1"},{"photo_id":"1349834932","filename":"file0"},{"photo_id":"1349835055","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349835055":["hashtag1","hashtag2"]},{"1349834965":["hashtag1","hashtag2"]},{"1349834932":["hashtag1","hashtag2"]},{"1349835004":["hashtag1","hashtag2"]},{"1349835081":["hashtag1","hashtag2"]},{"1349835068":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349835055, 1349834965, 1349834932, 1349835004, 1349835081, 1349835068)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.43787908554077 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:13:22.720570 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/13/image_15042025_10_13_59_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_17_5747.jpg', 2), ('/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_11_5912.jpg', 2), ('/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_59_6742.jpg', 2), ('/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_53_5751.jpg', 2), ('/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_47_5809.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/13/image_15042025_10_13_59_6109.jpg', '/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_17_5747.jpg', '/home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_11_5912.jpg', '/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_59_6742.jpg', '/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_53_5751.jpg', '/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_47_5809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/13/image_15042025_10_13_59_6109.jpg /home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_17_5747.jpg /home/nano/Desktop/images/15042025/08/23/image_15042025_08_23_11_5912.jpg /home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_59_6742.jpg /home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_53_5751.jpg /home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_47_5809.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349835211","1349835246","1349835281","1349835257","1349835289","1349835277"],"photo_ids_order":["1349835211","1349835246","1349835257","1349835277","1349835281","1349835289"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf2f12b0080069167830a22f2350ad50.jpg","text":"TemporaryFile(/tmp/multipartBody3638719509713516720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704864527,"filename":"image_15042025_10_13_59_6109.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8854ae785dc21f7a96e94d64adfe9196.jpg","text":"TemporaryFile(/tmp/multipartBody3313700822063945852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704864527,"filename":"image_15042025_08_23_17_5747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28155b7e8cc0f491a3e381978bcfb5b2.jpg","text":"TemporaryFile(/tmp/multipartBody1043361736992672898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704864527,"filename":"image_15042025_08_22_53_5751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/08d15055365e66f878da34f6c13e6b80.jpg","text":"TemporaryFile(/tmp/multipartBody4179223553787509252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704864527,"filename":"image_15042025_08_23_11_5912.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f86b1e6f219a1b6f85c1efc4d76fcdd.jpg","text":"TemporaryFile(/tmp/multipartBody1086976221852324308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704864527,"filename":"image_15042025_08_22_47_5809.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f9cc4f9bca38376e22962d2d2087c33.jpg","text":"TemporaryFile(/tmp/multipartBody6999276423074928825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704864527,"filename":"image_15042025_08_22_59_6742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349835257","file1":"1349835246","file0":"1349835211","file4":"1349835281","file5":"1349835289","file3":"1349835277"},"map_files_photo_id_array":[{"photo_id":"1349835289","filename":"file5"},{"photo_id":"1349835257","filename":"file2"},{"photo_id":"1349835281","filename":"file4"},{"photo_id":"1349835246","filename":"file1"},{"photo_id":"1349835211","filename":"file0"},{"photo_id":"1349835277","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349835211":["hashtag1","hashtag2"]},{"1349835246":["hashtag1","hashtag2"]},{"1349835281":["hashtag1","hashtag2"]},{"1349835257":["hashtag1","hashtag2"]},{"1349835289":["hashtag1","hashtag2"]},{"1349835277":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349835211, 1349835246, 1349835281, 1349835257, 1349835289, 1349835277)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.116530895233154 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:14:02.825837 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_41_5784.jpg', 2), ('/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_35_6017.jpg', 2), ('/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_29_6733.jpg', 2), ('/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_23_5816.jpg', 2), ('/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_17_5770.jpg', 2), ('/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_11_5899.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_41_5784.jpg', '/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_35_6017.jpg', '/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_29_6733.jpg', '/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_23_5816.jpg', '/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_17_5770.jpg', '/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_11_5899.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_41_5784.jpg /home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_35_6017.jpg /home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_29_6733.jpg /home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_23_5816.jpg /home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_17_5770.jpg /home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_11_5899.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349835430","1349835508","1349835483","1349835504","1349835395","1349835497"],"photo_ids_order":["1349835395","1349835430","1349835483","1349835497","1349835504","1349835508"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4b4266266adb3d5fbd4b4e01cb7761bf.jpg","text":"TemporaryFile(/tmp/multipartBody265503613567919073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704904646,"filename":"image_15042025_08_22_35_6017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d42f34efd7ea1da4b09b384ce13d705e.jpg","text":"TemporaryFile(/tmp/multipartBody8480437821484927591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704904646,"filename":"image_15042025_08_22_11_5899.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0355994692352584d1de697aecc3d98.jpg","text":"TemporaryFile(/tmp/multipartBody2399445858082580957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704904646,"filename":"image_15042025_08_22_29_6733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6e20c8e7333c49aaee774a24031aa57f.jpg","text":"TemporaryFile(/tmp/multipartBody574588513585655387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704904646,"filename":"image_15042025_08_22_17_5770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6b3c570acb72fc705e401095d486b6b8.jpg","text":"TemporaryFile(/tmp/multipartBody4216381870061687477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704904646,"filename":"image_15042025_08_22_41_5784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e19a58e70e163fe7251a3eb92dd574ba.jpg","text":"TemporaryFile(/tmp/multipartBody931498195676878961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704904646,"filename":"image_15042025_08_22_23_5816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349835483","file1":"1349835430","file0":"1349835395","file4":"1349835504","file5":"1349835508","file3":"1349835497"},"map_files_photo_id_array":[{"photo_id":"1349835508","filename":"file5"},{"photo_id":"1349835483","filename":"file2"},{"photo_id":"1349835504","filename":"file4"},{"photo_id":"1349835430","filename":"file1"},{"photo_id":"1349835395","filename":"file0"},{"photo_id":"1349835497","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349835430":["hashtag1","hashtag2"]},{"1349835508":["hashtag1","hashtag2"]},{"1349835483":["hashtag1","hashtag2"]},{"1349835504":["hashtag1","hashtag2"]},{"1349835395":["hashtag1","hashtag2"]},{"1349835497":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349835430, 1349835508, 1349835483, 1349835504, 1349835395, 1349835497)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.46660137176514 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:14:41.817025 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_05_5977.jpg', 2), ('/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_59_5957.jpg', 2), ('/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_53_5775.jpg', 2), ('/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_47_6790.jpg', 2), ('/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_41_5988.jpg', 2), ('/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_35_5128.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_05_5977.jpg', '/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_59_5957.jpg', '/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_53_5775.jpg', '/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_47_6790.jpg', '/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_41_5988.jpg', '/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_35_5128.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/22/image_15042025_08_22_05_5977.jpg /home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_59_5957.jpg /home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_53_5775.jpg /home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_47_6790.jpg /home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_41_5988.jpg /home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_35_5128.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349835578","1349835557","1349835551","1349835530","1349835571","1349835589"],"photo_ids_order":["1349835530","1349835551","1349835557","1349835571","1349835578","1349835589"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3cce4df4b6a9478720e1f19b433a6e3a.jpg","text":"TemporaryFile(/tmp/multipartBody4186134653756220719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704943691,"filename":"image_15042025_08_21_41_5988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/025143a4d8cdc13d013ceaa196366063.jpg","text":"TemporaryFile(/tmp/multipartBody8078724160393083194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704943691,"filename":"image_15042025_08_21_53_5775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca28040f67f59359ee1d71dbc4e0a696.jpg","text":"TemporaryFile(/tmp/multipartBody8351370268719760093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704943691,"filename":"image_15042025_08_21_59_5957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80060c37865aa73a18fe889ef989b704.jpg","text":"TemporaryFile(/tmp/multipartBody1222202805283166693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704943691,"filename":"image_15042025_08_22_05_5977.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f98debb92999d300aa20cf134e3515b.jpg","text":"TemporaryFile(/tmp/multipartBody2000746698221184166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704943691,"filename":"image_15042025_08_21_47_6790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84cb1e61bc98f2b2b6fc49b9be31939f.jpg","text":"TemporaryFile(/tmp/multipartBody4718982236531338840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704943691,"filename":"image_15042025_08_21_35_5128.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349835557","file1":"1349835551","file0":"1349835530","file4":"1349835578","file5":"1349835589","file3":"1349835571"},"map_files_photo_id_array":[{"photo_id":"1349835589","filename":"file5"},{"photo_id":"1349835557","filename":"file2"},{"photo_id":"1349835578","filename":"file4"},{"photo_id":"1349835551","filename":"file1"},{"photo_id":"1349835530","filename":"file0"},{"photo_id":"1349835571","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349835578":["hashtag1","hashtag2"]},{"1349835557":["hashtag1","hashtag2"]},{"1349835551":["hashtag1","hashtag2"]},{"1349835530":["hashtag1","hashtag2"]},{"1349835571":["hashtag1","hashtag2"]},{"1349835589":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349835578, 1349835557, 1349835551, 1349835530, 1349835571, 1349835589)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.574738264083862 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:15:21.943769 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/12/image_15042025_10_12_23_6165.jpg', 2), ('/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_23_6791.jpg', 2), ('/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_17_5816.jpg', 2), ('/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_11_5864.jpg', 2), ('/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_05_6023.jpg', 2), ('/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_59_6000.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/12/image_15042025_10_12_23_6165.jpg', '/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_23_6791.jpg', '/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_17_5816.jpg', '/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_11_5864.jpg', '/home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_05_6023.jpg', '/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_59_6000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/12/image_15042025_10_12_23_6165.jpg /home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_23_6791.jpg /home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_17_5816.jpg /home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_11_5864.jpg /home/nano/Desktop/images/15042025/08/21/image_15042025_08_21_05_6023.jpg /home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_59_6000.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349835789","1349835696","1349835750","1349835828","1349835704","1349835908"],"photo_ids_order":["1349835696","1349835704","1349835750","1349835789","1349835828","1349835908"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2785b8bdb90e717b9d4427324a00e3f2.jpg","text":"TemporaryFile(/tmp/multipartBody7059739069842880084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704983807,"filename":"image_15042025_08_21_11_5864.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/98aef1f2130fe1a442b8c61e52f3f1ae.jpg","text":"TemporaryFile(/tmp/multipartBody6090404214713220799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704983807,"filename":"image_15042025_10_12_23_6165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b3e3ebec4a3582932eea15f35956a3b6.jpg","text":"TemporaryFile(/tmp/multipartBody3311423831157437404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704983807,"filename":"image_15042025_08_21_17_5816.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/50cf37134dd6c6ae6462bb6898e3e067.jpg","text":"TemporaryFile(/tmp/multipartBody2438851591888201402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704983807,"filename":"image_15042025_08_21_05_6023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa6dc0325f868fe8bd22546d00cebf9b.jpg","text":"TemporaryFile(/tmp/multipartBody8625472454280831948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704983807,"filename":"image_15042025_08_21_23_6791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/daa1be98aa184974e826a1445e710cfb.jpg","text":"TemporaryFile(/tmp/multipartBody2476793638057479678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744704983807,"filename":"image_15042025_08_20_59_6000.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349835750","file1":"1349835704","file0":"1349835696","file4":"1349835828","file5":"1349835908","file3":"1349835789"},"map_files_photo_id_array":[{"photo_id":"1349835908","filename":"file5"},{"photo_id":"1349835750","filename":"file2"},{"photo_id":"1349835828","filename":"file4"},{"photo_id":"1349835704","filename":"file1"},{"photo_id":"1349835696","filename":"file0"},{"photo_id":"1349835789","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349835789":["hashtag1","hashtag2"]},{"1349835696":["hashtag1","hashtag2"]},{"1349835750":["hashtag1","hashtag2"]},{"1349835828":["hashtag1","hashtag2"]},{"1349835704":["hashtag1","hashtag2"]},{"1349835908":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349835789, 1349835696, 1349835750, 1349835828, 1349835704, 1349835908)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 35.496843576431274 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:16:02.613691 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_53_5760.jpg', 2), ('/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_47_5778.jpg', 2), ('/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_41_6820.jpg', 2), ('/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_35_5705.jpg', 2), ('/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_29_5671.jpg', 2), ('/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_23_5848.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_53_5760.jpg', '/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_47_5778.jpg', '/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_41_6820.jpg', '/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_35_5705.jpg', '/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_29_5671.jpg', '/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_23_5848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_53_5760.jpg /home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_47_5778.jpg /home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_41_6820.jpg /home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_35_5705.jpg /home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_29_5671.jpg /home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_23_5848.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349836003","1349836104","1349836026","1349836020","1349836066","1349836033"],"photo_ids_order":["1349836003","1349836020","1349836026","1349836033","1349836066","1349836104"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6cf54676d1a54b46eabc920fc181f42f.jpg","text":"TemporaryFile(/tmp/multipartBody4477060608202491217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705024438,"filename":"image_15042025_08_20_53_5760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e592e4cc88023b39c76ba090b30c89aa.jpg","text":"TemporaryFile(/tmp/multipartBody587888121742072904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705024438,"filename":"image_15042025_08_20_23_5848.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8dcec3b4be70ccc5f2adecf36df63c9d.jpg","text":"TemporaryFile(/tmp/multipartBody3826453949446398330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705024438,"filename":"image_15042025_08_20_41_6820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2f9a92d55e6b4c4a83deee30cd0c501.jpg","text":"TemporaryFile(/tmp/multipartBody7222466765748476881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705024438,"filename":"image_15042025_08_20_47_5778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75bbc652772cafe5b6e169d061e4d2ef.jpg","text":"TemporaryFile(/tmp/multipartBody5912914225580194743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705024438,"filename":"image_15042025_08_20_29_5671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14abcf1f9ac651eb7fd56e451ec85381.jpg","text":"TemporaryFile(/tmp/multipartBody930432160036850783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705024438,"filename":"image_15042025_08_20_35_5705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349836026","file1":"1349836020","file0":"1349836003","file4":"1349836066","file5":"1349836104","file3":"1349836033"},"map_files_photo_id_array":[{"photo_id":"1349836104","filename":"file5"},{"photo_id":"1349836026","filename":"file2"},{"photo_id":"1349836066","filename":"file4"},{"photo_id":"1349836020","filename":"file1"},{"photo_id":"1349836003","filename":"file0"},{"photo_id":"1349836033","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349836003":["hashtag1","hashtag2"]},{"1349836104":["hashtag1","hashtag2"]},{"1349836026":["hashtag1","hashtag2"]},{"1349836020":["hashtag1","hashtag2"]},{"1349836066":["hashtag1","hashtag2"]},{"1349836033":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349836003, 1349836104, 1349836026, 1349836020, 1349836066, 1349836033)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.950865745544434 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:16:42.074305 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_17_6720.jpg', 2), ('/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_11_5657.jpg', 2), ('/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_05_5614.jpg', 2), ('/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_59_6679.jpg', 2), ('/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_53_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_47_5631.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_17_6720.jpg', '/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_11_5657.jpg', '/home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_05_5614.jpg', '/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_59_6679.jpg', '/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_53_5621.jpg', '/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_47_5631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_17_6720.jpg /home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_11_5657.jpg /home/nano/Desktop/images/15042025/08/20/image_15042025_08_20_05_5614.jpg /home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_59_6679.jpg /home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_53_5621.jpg /home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_47_5631.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349836306","1349836284","1349836332","1349836334","1349836342","1349836339"],"photo_ids_order":["1349836284","1349836306","1349836332","1349836334","1349836339","1349836342"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/401111e6180abacc7e216dc7a7626087.jpg","text":"TemporaryFile(/tmp/multipartBody7844183253338587451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705063838,"filename":"image_15042025_08_20_11_5657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a626718705a34a97a17b604d8ac9aae.jpg","text":"TemporaryFile(/tmp/multipartBody3897342209444366942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705063838,"filename":"image_15042025_08_20_17_6720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d029841dbf49daaf4b11b601d8a9ef75.jpg","text":"TemporaryFile(/tmp/multipartBody7473858715201450726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705063838,"filename":"image_15042025_08_20_05_5614.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7f4e81981851a451356dfa5f5571804.jpg","text":"TemporaryFile(/tmp/multipartBody7090953426316562061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705063838,"filename":"image_15042025_08_19_59_6679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c08e11d58719399a7c99bbb67dd6b18.jpg","text":"TemporaryFile(/tmp/multipartBody1837488408940280096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705063838,"filename":"image_15042025_08_19_47_5631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f421899bc913abf5b667d9a019378185.jpg","text":"TemporaryFile(/tmp/multipartBody7494494041668588251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705063838,"filename":"image_15042025_08_19_53_5621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349836332","file1":"1349836306","file0":"1349836284","file4":"1349836339","file5":"1349836342","file3":"1349836334"},"map_files_photo_id_array":[{"photo_id":"1349836342","filename":"file5"},{"photo_id":"1349836332","filename":"file2"},{"photo_id":"1349836339","filename":"file4"},{"photo_id":"1349836306","filename":"file1"},{"photo_id":"1349836284","filename":"file0"},{"photo_id":"1349836334","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349836306":["hashtag1","hashtag2"]},{"1349836284":["hashtag1","hashtag2"]},{"1349836332":["hashtag1","hashtag2"]},{"1349836334":["hashtag1","hashtag2"]},{"1349836342":["hashtag1","hashtag2"]},{"1349836339":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349836306, 1349836284, 1349836332, 1349836334, 1349836342, 1349836339)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.80335783958435 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:17:22.216806 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_41_6607.jpg', 2), ('/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_35_5658.jpg', 2), ('/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_29_5706.jpg', 2), ('/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_23_6893.jpg', 2), ('/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_05_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/08/18/image_15042025_08_18_59_5992.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_41_6607.jpg', '/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_35_5658.jpg', '/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_29_5706.jpg', '/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_23_6893.jpg', '/home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_05_5654.jpg', '/home/nano/Desktop/images/15042025/08/18/image_15042025_08_18_59_5992.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_41_6607.jpg /home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_35_5658.jpg /home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_29_5706.jpg /home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_23_6893.jpg /home/nano/Desktop/images/15042025/08/19/image_15042025_08_19_05_5654.jpg /home/nano/Desktop/images/15042025/08/18/image_15042025_08_18_59_5992.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349836545","1349836473","1349836481","1349836439","1349836477","1349836468"],"photo_ids_order":["1349836439","1349836468","1349836473","1349836477","1349836481","1349836545"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/37897a3dbd4de940f17362e0966a3e68.jpg","text":"TemporaryFile(/tmp/multipartBody8936491356814233214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705103958,"filename":"image_15042025_08_18_59_5992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6030cffd1c55eb9f94da902ed62713bc.jpg","text":"TemporaryFile(/tmp/multipartBody4995544631822637367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705103958,"filename":"image_15042025_08_19_29_5706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64086a97da4659b8fc3b2885ef5ce57c.jpg","text":"TemporaryFile(/tmp/multipartBody2316272475311027074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705103958,"filename":"image_15042025_08_19_05_5654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21e968fe7ccf90fe815ae5252aac2c53.jpg","text":"TemporaryFile(/tmp/multipartBody6577782005032038179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705103958,"filename":"image_15042025_08_19_41_6607.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d6411cc64c51eabf59a524fceb06369.jpg","text":"TemporaryFile(/tmp/multipartBody723773794321367986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705103958,"filename":"image_15042025_08_19_23_6893.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/538b9774cdb51635986a37970904056e.jpg","text":"TemporaryFile(/tmp/multipartBody8304163981847947034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705103958,"filename":"image_15042025_08_19_35_5658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349836473","file1":"1349836468","file0":"1349836439","file4":"1349836481","file5":"1349836545","file3":"1349836477"},"map_files_photo_id_array":[{"photo_id":"1349836545","filename":"file5"},{"photo_id":"1349836473","filename":"file2"},{"photo_id":"1349836481","filename":"file4"},{"photo_id":"1349836468","filename":"file1"},{"photo_id":"1349836439","filename":"file0"},{"photo_id":"1349836477","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349836545":["hashtag1","hashtag2"]},{"1349836473":["hashtag1","hashtag2"]},{"1349836481":["hashtag1","hashtag2"]},{"1349836439":["hashtag1","hashtag2"]},{"1349836477":["hashtag1","hashtag2"]},{"1349836468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349836545, 1349836473, 1349836481, 1349836439, 1349836477, 1349836468)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.61639213562012 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:18:02.956480 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/18/image_15042025_10_18_59_6101.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_47_5604.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_41_6621.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_35_5612.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_29_6654.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_22_5616.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/18/image_15042025_10_18_59_6101.jpg', '/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_47_5604.jpg', '/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_41_6621.jpg', '/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_35_5612.jpg', '/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_29_6654.jpg', '/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_22_5616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/18/image_15042025_10_18_59_6101.jpg /home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_47_5604.jpg /home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_41_6621.jpg /home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_35_5612.jpg /home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_29_6654.jpg /home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_22_5616.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349836689","1349836668","1349836641","1349836647","1349836658","1349836630"],"photo_ids_order":["1349836630","1349836641","1349836647","1349836658","1349836668","1349836689"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68c646b7ca4b4e49cc4e286242278c62.jpg","text":"TemporaryFile(/tmp/multipartBody2009144370545374193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705144720,"filename":"image_15042025_08_15_22_5616.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1aa7c60e74bf33d7f6c25bc1aa3d053d.jpg","text":"TemporaryFile(/tmp/multipartBody5928258836026546211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705144720,"filename":"image_15042025_08_15_29_6654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96f646159f4ec6f4a005e2574eecf26d.jpg","text":"TemporaryFile(/tmp/multipartBody8607442763194725843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705144720,"filename":"image_15042025_08_15_47_5604.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2f81403f93abb1782dea96d44a68bb4.jpg","text":"TemporaryFile(/tmp/multipartBody5185112967246420360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705144720,"filename":"image_15042025_08_15_41_6621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84d2c2af53eb7d09c36c5060c66d5e96.jpg","text":"TemporaryFile(/tmp/multipartBody1056731135605954682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705144720,"filename":"image_15042025_08_15_35_5612.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee2c1c231fa3e5aed03dc604eb7af0d7.jpg","text":"TemporaryFile(/tmp/multipartBody6083205043494542527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705144720,"filename":"image_15042025_10_18_59_6101.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349836647","file1":"1349836641","file0":"1349836630","file4":"1349836668","file5":"1349836689","file3":"1349836658"},"map_files_photo_id_array":[{"photo_id":"1349836689","filename":"file5"},{"photo_id":"1349836647","filename":"file2"},{"photo_id":"1349836668","filename":"file4"},{"photo_id":"1349836641","filename":"file1"},{"photo_id":"1349836630","filename":"file0"},{"photo_id":"1349836658","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349836689":["hashtag1","hashtag2"]},{"1349836668":["hashtag1","hashtag2"]},{"1349836641":["hashtag1","hashtag2"]},{"1349836647":["hashtag1","hashtag2"]},{"1349836658":["hashtag1","hashtag2"]},{"1349836630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349836689, 1349836668, 1349836641, 1349836647, 1349836658, 1349836630)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.955138206481934 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:18:42.349595 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_17_5624.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_11_5861.jpg', 2), ('/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_05_6692.jpg', 2), ('/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_59_5724.jpg', 2), ('/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_53_5748.jpg', 2), ('/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_47_6729.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_17_5624.jpg', '/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_11_5861.jpg', '/home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_05_6692.jpg', '/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_59_5724.jpg', '/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_53_5748.jpg', '/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_47_6729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_17_5624.jpg /home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_11_5861.jpg /home/nano/Desktop/images/15042025/08/15/image_15042025_08_15_05_6692.jpg /home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_59_5724.jpg /home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_53_5748.jpg /home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_47_6729.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349836785","1349836767","1349836830","1349836800","1349836780","1349836774"],"photo_ids_order":["1349836767","1349836774","1349836780","1349836785","1349836800","1349836830"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59daedb0050cea72e20368a66df96f2c.jpg","text":"TemporaryFile(/tmp/multipartBody3444434924445042685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705184117,"filename":"image_15042025_08_14_59_5724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d82738b826b8da58adc716297316c28.jpg","text":"TemporaryFile(/tmp/multipartBody5405858038697012663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705184117,"filename":"image_15042025_08_15_17_5624.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/48bd28c1db6be90cff9f75645fdff4bf.jpg","text":"TemporaryFile(/tmp/multipartBody1962635564911546210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705184117,"filename":"image_15042025_08_14_47_6729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f6c5d1dec353b8915bfaae898be9527b.jpg","text":"TemporaryFile(/tmp/multipartBody1232592192257817198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705184117,"filename":"image_15042025_08_14_53_5748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ea8e9d51d98b91800725fa1275eba1a7.jpg","text":"TemporaryFile(/tmp/multipartBody5395910045612344486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705184117,"filename":"image_15042025_08_15_05_6692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e3860067c65779af10f1ff33a7019ebc.jpg","text":"TemporaryFile(/tmp/multipartBody4303318301732586042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705184117,"filename":"image_15042025_08_15_11_5861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349836780","file1":"1349836774","file0":"1349836767","file4":"1349836800","file5":"1349836830","file3":"1349836785"},"map_files_photo_id_array":[{"photo_id":"1349836830","filename":"file5"},{"photo_id":"1349836780","filename":"file2"},{"photo_id":"1349836800","filename":"file4"},{"photo_id":"1349836774","filename":"file1"},{"photo_id":"1349836767","filename":"file0"},{"photo_id":"1349836785","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349836785":["hashtag1","hashtag2"]},{"1349836767":["hashtag1","hashtag2"]},{"1349836830":["hashtag1","hashtag2"]},{"1349836800":["hashtag1","hashtag2"]},{"1349836780":["hashtag1","hashtag2"]},{"1349836774":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349836785, 1349836767, 1349836830, 1349836800, 1349836780, 1349836774)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.28860855102539 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:19:22.459828 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_40_5615.jpg', 2), ('/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_35_5611.jpg', 2), ('/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_29_6714.jpg', 2), ('/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_23_5710.jpg', 2), ('/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_17_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_11_6678.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_40_5615.jpg', '/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_35_5611.jpg', '/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_29_6714.jpg', '/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_23_5710.jpg', '/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_17_5662.jpg', '/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_11_6678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_40_5615.jpg /home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_35_5611.jpg /home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_29_6714.jpg /home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_23_5710.jpg /home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_17_5662.jpg /home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_11_6678.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349836959","1349836947","1349836926","1349836937","1349836886","1349836903"],"photo_ids_order":["1349836886","1349836903","1349836926","1349836937","1349836947","1349836959"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/232977e4d0d24be285efa63fcffbf4ba.jpg","text":"TemporaryFile(/tmp/multipartBody1105229377003872828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705224195,"filename":"image_15042025_08_14_11_6678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a774bc346d3efaf3e494157c0086c01a.jpg","text":"TemporaryFile(/tmp/multipartBody5279586141043492614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705224195,"filename":"image_15042025_08_14_17_5662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0cdab2cda55a7fb7d39f168a55ea982a.jpg","text":"TemporaryFile(/tmp/multipartBody990023972557488869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705224195,"filename":"image_15042025_08_14_29_6714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5898f9e5813b39d82930dbbb04cb53c8.jpg","text":"TemporaryFile(/tmp/multipartBody431289842619729037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705224195,"filename":"image_15042025_08_14_23_5710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bda272895b776b68bf7ec4979dec7f19.jpg","text":"TemporaryFile(/tmp/multipartBody7427506715304070018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705224195,"filename":"image_15042025_08_14_40_5615.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd94701c7738837d5c3b682d981be8fe.jpg","text":"TemporaryFile(/tmp/multipartBody9145221581733479630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705224195,"filename":"image_15042025_08_14_35_5611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349836926","file1":"1349836903","file0":"1349836886","file4":"1349836947","file5":"1349836959","file3":"1349836937"},"map_files_photo_id_array":[{"photo_id":"1349836959","filename":"file5"},{"photo_id":"1349836926","filename":"file2"},{"photo_id":"1349836947","filename":"file4"},{"photo_id":"1349836903","filename":"file1"},{"photo_id":"1349836886","filename":"file0"},{"photo_id":"1349836937","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349836959":["hashtag1","hashtag2"]},{"1349836947":["hashtag1","hashtag2"]},{"1349836926":["hashtag1","hashtag2"]},{"1349836937":["hashtag1","hashtag2"]},{"1349836886":["hashtag1","hashtag2"]},{"1349836903":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349836959, 1349836947, 1349836926, 1349836937, 1349836886, 1349836903)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.806966066360474 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:20:03.128962 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_04_5722.jpg', 2), ('/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_59_5684.jpg', 2), ('/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_53_5663.jpg', 2), ('/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_47_6695.jpg', 2), ('/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_41_5666.jpg', 2), ('/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_35_5701.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_04_5722.jpg', '/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_59_5684.jpg', '/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_53_5663.jpg', '/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_47_6695.jpg', '/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_41_5666.jpg', '/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_35_5701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/14/image_15042025_08_14_04_5722.jpg /home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_59_5684.jpg /home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_53_5663.jpg /home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_47_6695.jpg /home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_41_5666.jpg /home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_35_5701.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349837073","1349837112","1349837037","1349837102","1349836999","1349837107"],"photo_ids_order":["1349836999","1349837037","1349837073","1349837102","1349837107","1349837112"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d53919530ac4a5fa7d8015d8d68bd79.jpg","text":"TemporaryFile(/tmp/multipartBody267125307037744079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705264952,"filename":"image_15042025_08_13_53_5663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f752d9753d2df73a6ff9fc403936aef1.jpg","text":"TemporaryFile(/tmp/multipartBody6467242617155316187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705264952,"filename":"image_15042025_08_13_35_5701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93c31c2e5622b681fa3376aef8e9c668.jpg","text":"TemporaryFile(/tmp/multipartBody6994157418150979942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705264952,"filename":"image_15042025_08_13_59_5684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e7f4e90884242348de44f092f9fa6349.jpg","text":"TemporaryFile(/tmp/multipartBody1312346797146661089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705264952,"filename":"image_15042025_08_13_47_6695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f99bb5e7e41858ad508d8190be794107.jpg","text":"TemporaryFile(/tmp/multipartBody5054335959290822876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705264952,"filename":"image_15042025_08_14_04_5722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/877ccaa37aca07eadc36367d1e6887c8.jpg","text":"TemporaryFile(/tmp/multipartBody2151872764387654310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705264952,"filename":"image_15042025_08_13_41_5666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349837073","file1":"1349837037","file0":"1349836999","file4":"1349837107","file5":"1349837112","file3":"1349837102"},"map_files_photo_id_array":[{"photo_id":"1349837112","filename":"file5"},{"photo_id":"1349837073","filename":"file2"},{"photo_id":"1349837107","filename":"file4"},{"photo_id":"1349837037","filename":"file1"},{"photo_id":"1349836999","filename":"file0"},{"photo_id":"1349837102","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349837073":["hashtag1","hashtag2"]},{"1349837112":["hashtag1","hashtag2"]},{"1349837037":["hashtag1","hashtag2"]},{"1349837102":["hashtag1","hashtag2"]},{"1349836999":["hashtag1","hashtag2"]},{"1349837107":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349837073, 1349837112, 1349837037, 1349837102, 1349836999, 1349837107)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.986698150634766 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:20:42.619630 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_29_6682.jpg', 2), ('/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_23_5631.jpg', 2), ('/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_17_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_11_6719.jpg', 2), ('/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_05_5667.jpg', 2), ('/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_59_5642.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_29_6682.jpg', '/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_23_5631.jpg', '/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_17_5638.jpg', '/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_11_6719.jpg', '/home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_05_5667.jpg', '/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_59_5642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_29_6682.jpg /home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_23_5631.jpg /home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_17_5638.jpg /home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_11_6719.jpg /home/nano/Desktop/images/15042025/08/13/image_15042025_08_13_05_5667.jpg /home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_59_5642.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349837139","1349837148","1349837168","1349837164","1349837158","1349837175"],"photo_ids_order":["1349837139","1349837148","1349837158","1349837164","1349837168","1349837175"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/29fb575b220733382fbd514b3bd27b2d.jpg","text":"TemporaryFile(/tmp/multipartBody7493023716191825242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705304377,"filename":"image_15042025_08_13_29_6682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e454b21ca1efeb6a9ded3c06d6c95323.jpg","text":"TemporaryFile(/tmp/multipartBody5377852470952177073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705304377,"filename":"image_15042025_08_13_23_5631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44c07c18c3f792c4a860f7c8afd0290c.jpg","text":"TemporaryFile(/tmp/multipartBody3001913035519436288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705304377,"filename":"image_15042025_08_13_05_5667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a7b2cb0abf9440874ba56f408b3c1e9e.jpg","text":"TemporaryFile(/tmp/multipartBody1376971906505292833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705304377,"filename":"image_15042025_08_13_11_6719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/434a0b774b245c06ff708e6f7cf6ca05.jpg","text":"TemporaryFile(/tmp/multipartBody5203734754891577724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705304377,"filename":"image_15042025_08_13_17_5638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/439e9b3c3f456b1072055998647f43db.jpg","text":"TemporaryFile(/tmp/multipartBody4335038353661045286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705304377,"filename":"image_15042025_08_12_59_5642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349837158","file1":"1349837148","file0":"1349837139","file4":"1349837168","file5":"1349837175","file3":"1349837164"},"map_files_photo_id_array":[{"photo_id":"1349837175","filename":"file5"},{"photo_id":"1349837158","filename":"file2"},{"photo_id":"1349837168","filename":"file4"},{"photo_id":"1349837148","filename":"file1"},{"photo_id":"1349837139","filename":"file0"},{"photo_id":"1349837164","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349837139":["hashtag1","hashtag2"]},{"1349837148":["hashtag1","hashtag2"]},{"1349837168":["hashtag1","hashtag2"]},{"1349837164":["hashtag1","hashtag2"]},{"1349837158":["hashtag1","hashtag2"]},{"1349837175":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349837139, 1349837148, 1349837168, 1349837164, 1349837158, 1349837175)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.449052572250366 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:21:22.744090 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_53_6652.jpg', 2), ('/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_47_5655.jpg', 2), ('/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_41_5694.jpg', 2), ('/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_35_6676.jpg', 2), ('/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_29_5604.jpg', 2), ('/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_23_5617.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_53_6652.jpg', '/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_47_5655.jpg', '/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_41_5694.jpg', '/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_35_6676.jpg', '/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_29_5604.jpg', '/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_23_5617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_53_6652.jpg /home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_47_5655.jpg /home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_41_5694.jpg /home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_35_6676.jpg /home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_29_5604.jpg /home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_23_5617.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349837237","1349837222","1349837227","1349837257","1349837317","1349837286"],"photo_ids_order":["1349837222","1349837227","1349837237","1349837257","1349837286","1349837317"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e46d62f5010555dde6feff1d8f1f3c9c.jpg","text":"TemporaryFile(/tmp/multipartBody478336959126760998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705344491,"filename":"image_15042025_08_12_41_5694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d90f5b8767572ccf03699163b95bc5e7.jpg","text":"TemporaryFile(/tmp/multipartBody4982729002696869053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705344491,"filename":"image_15042025_08_12_53_6652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/23db22a58fa2b19a8f01cbdcd3e3b57c.jpg","text":"TemporaryFile(/tmp/multipartBody2469100523607360976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705344491,"filename":"image_15042025_08_12_47_5655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/500f698e912e5e6c22fc45a7bef855d9.jpg","text":"TemporaryFile(/tmp/multipartBody8866760330112174631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705344491,"filename":"image_15042025_08_12_35_6676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d3470cbdfa5aa6ba88c712c4c6936f3.jpg","text":"TemporaryFile(/tmp/multipartBody3264282315633034158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705344491,"filename":"image_15042025_08_12_23_5617.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/589964ec1ba582b977ec4c973b26e1aa.jpg","text":"TemporaryFile(/tmp/multipartBody3618323961704153053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705344491,"filename":"image_15042025_08_12_29_5604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349837237","file1":"1349837227","file0":"1349837222","file4":"1349837286","file5":"1349837317","file3":"1349837257"},"map_files_photo_id_array":[{"photo_id":"1349837317","filename":"file5"},{"photo_id":"1349837237","filename":"file2"},{"photo_id":"1349837286","filename":"file4"},{"photo_id":"1349837227","filename":"file1"},{"photo_id":"1349837222","filename":"file0"},{"photo_id":"1349837257","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349837237":["hashtag1","hashtag2"]},{"1349837222":["hashtag1","hashtag2"]},{"1349837227":["hashtag1","hashtag2"]},{"1349837257":["hashtag1","hashtag2"]},{"1349837317":["hashtag1","hashtag2"]},{"1349837286":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349837237, 1349837222, 1349837227, 1349837257, 1349837317, 1349837286)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.814064979553223 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:22:02.147391 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_17_6653.jpg', 2), ('/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_11_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_05_6656.jpg', 2), ('/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_58_5609.jpg', 2), ('/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_53_5610.jpg', 2), ('/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_47_6683.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_17_6653.jpg', '/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_11_5649.jpg', '/home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_05_6656.jpg', '/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_58_5609.jpg', '/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_53_5610.jpg', '/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_47_6683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_17_6653.jpg /home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_11_5649.jpg /home/nano/Desktop/images/15042025/08/12/image_15042025_08_12_05_6656.jpg /home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_58_5609.jpg /home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_53_5610.jpg /home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_47_6683.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349837526","1349837384","1349837387","1349837380","1349837437","1349837373"],"photo_ids_order":["1349837373","1349837380","1349837384","1349837387","1349837437","1349837526"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4623c3325556c4fa0d64b342efd72be4.jpg","text":"TemporaryFile(/tmp/multipartBody827973139708868635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705383905,"filename":"image_15042025_08_11_47_6683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/daf93155cb55fa646425096ac8dc2ffb.jpg","text":"TemporaryFile(/tmp/multipartBody3822027485100994218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705383905,"filename":"image_15042025_08_12_05_6656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/090a93b79824ac76d4a274d90b3a7c9d.jpg","text":"TemporaryFile(/tmp/multipartBody3537685874670712269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705383905,"filename":"image_15042025_08_11_58_5609.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6813f21861b40c8f06633de3fe6b0f69.jpg","text":"TemporaryFile(/tmp/multipartBody7331532310437350788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705383905,"filename":"image_15042025_08_12_11_5649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7031c42b35bb0e862e92ffad366beda1.jpg","text":"TemporaryFile(/tmp/multipartBody7573821078531145012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705383905,"filename":"image_15042025_08_11_53_5610.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e39d69c1d8c86bba08699bceb84a305.jpg","text":"TemporaryFile(/tmp/multipartBody3515750379687460869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705383905,"filename":"image_15042025_08_12_17_6653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349837384","file1":"1349837380","file0":"1349837373","file4":"1349837437","file5":"1349837526","file3":"1349837387"},"map_files_photo_id_array":[{"photo_id":"1349837526","filename":"file5"},{"photo_id":"1349837384","filename":"file2"},{"photo_id":"1349837437","filename":"file4"},{"photo_id":"1349837380","filename":"file1"},{"photo_id":"1349837373","filename":"file0"},{"photo_id":"1349837387","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349837526":["hashtag1","hashtag2"]},{"1349837384":["hashtag1","hashtag2"]},{"1349837387":["hashtag1","hashtag2"]},{"1349837380":["hashtag1","hashtag2"]},{"1349837437":["hashtag1","hashtag2"]},{"1349837373":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349837526, 1349837384, 1349837387, 1349837380, 1349837437, 1349837373)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.234731674194336 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:22:41.846027 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_41_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_35_5630.jpg', 2), ('/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_29_6626.jpg', 2), ('/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_23_5620.jpg', 2), ('/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_17_5648.jpg', 2), ('/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_11_6674.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_41_5626.jpg', '/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_35_5630.jpg', '/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_29_6626.jpg', '/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_23_5620.jpg', '/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_17_5648.jpg', '/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_11_6674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_41_5626.jpg /home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_35_5630.jpg /home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_29_6626.jpg /home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_23_5620.jpg /home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_17_5648.jpg /home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_11_6674.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349837825","1349837833","1349837874","1349837781","1349837883","1349837859"],"photo_ids_order":["1349837781","1349837825","1349837833","1349837859","1349837874","1349837883"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/edb01837c1c7ed0e561bd2eef68ac132.jpg","text":"TemporaryFile(/tmp/multipartBody4392153693938660014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705423568,"filename":"image_15042025_08_11_35_5630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d0406ee204c2d3c5c8db7c884cc0ec4b.jpg","text":"TemporaryFile(/tmp/multipartBody5478519986560836506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705423568,"filename":"image_15042025_08_11_29_6626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8b5a70843b19846aef0efeb70641d85.jpg","text":"TemporaryFile(/tmp/multipartBody4396675355058216184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705423568,"filename":"image_15042025_08_11_17_5648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35e7f0f8893a7954c71591a727a96f1d.jpg","text":"TemporaryFile(/tmp/multipartBody8746425049942380738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705423568,"filename":"image_15042025_08_11_41_5626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ada5f56d278f3bb8beae249087585f20.jpg","text":"TemporaryFile(/tmp/multipartBody7174150552000389021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705423568,"filename":"image_15042025_08_11_11_6674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ce51519b01d9cb2853bfcfe447d94c0.jpg","text":"TemporaryFile(/tmp/multipartBody1804698642394897564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705423568,"filename":"image_15042025_08_11_23_5620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349837833","file1":"1349837825","file0":"1349837781","file4":"1349837874","file5":"1349837883","file3":"1349837859"},"map_files_photo_id_array":[{"photo_id":"1349837883","filename":"file5"},{"photo_id":"1349837833","filename":"file2"},{"photo_id":"1349837874","filename":"file4"},{"photo_id":"1349837825","filename":"file1"},{"photo_id":"1349837781","filename":"file0"},{"photo_id":"1349837859","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349837825":["hashtag1","hashtag2"]},{"1349837833":["hashtag1","hashtag2"]},{"1349837874":["hashtag1","hashtag2"]},{"1349837781":["hashtag1","hashtag2"]},{"1349837883":["hashtag1","hashtag2"]},{"1349837859":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349837825, 1349837833, 1349837874, 1349837781, 1349837883, 1349837859)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.21233344078064 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:23:21.954768 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/23/image_15042025_10_23_59_6092.jpg', 2), ('/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_05_5694.jpg', 2), ('/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_59_5636.jpg', 2), ('/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_53_6630.jpg', 2), ('/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_47_5618.jpg', 2), ('/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_41_6659.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/23/image_15042025_10_23_59_6092.jpg', '/home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_05_5694.jpg', '/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_59_5636.jpg', '/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_53_6630.jpg', '/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_47_5618.jpg', '/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_41_6659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/23/image_15042025_10_23_59_6092.jpg /home/nano/Desktop/images/15042025/08/11/image_15042025_08_11_05_5694.jpg /home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_59_5636.jpg /home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_53_6630.jpg /home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_47_5618.jpg /home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_41_6659.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349838086","1349838161","1349838062","1349838104","1349838093","1349838072"],"photo_ids_order":["1349838062","1349838072","1349838086","1349838093","1349838104","1349838161"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/005835b89766cdebc5bb532e9d3074fa.jpg","text":"TemporaryFile(/tmp/multipartBody6719577099437519382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705463705,"filename":"image_15042025_08_10_59_5636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0be1c39c36711df52f30f2bab1725b3d.jpg","text":"TemporaryFile(/tmp/multipartBody914472161287590368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705463705,"filename":"image_15042025_08_10_41_6659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c4d881f1444ec1270a397264a5ed3da.jpg","text":"TemporaryFile(/tmp/multipartBody7676261926819565187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705463705,"filename":"image_15042025_10_23_59_6092.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14625f0f845e09ae30ed73604e8929be.jpg","text":"TemporaryFile(/tmp/multipartBody7631569854119624588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705463705,"filename":"image_15042025_08_10_47_5618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d2b9284aabcd27b77a79f61725a5762d.jpg","text":"TemporaryFile(/tmp/multipartBody7950629028909699030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705463705,"filename":"image_15042025_08_10_53_6630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f244a7e20b1b437d84119014c74b1eb.jpg","text":"TemporaryFile(/tmp/multipartBody4012244588973412144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705463705,"filename":"image_15042025_08_11_05_5694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349838086","file1":"1349838072","file0":"1349838062","file4":"1349838104","file5":"1349838161","file3":"1349838093"},"map_files_photo_id_array":[{"photo_id":"1349838161","filename":"file5"},{"photo_id":"1349838086","filename":"file2"},{"photo_id":"1349838104","filename":"file4"},{"photo_id":"1349838072","filename":"file1"},{"photo_id":"1349838062","filename":"file0"},{"photo_id":"1349838093","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349838086":["hashtag1","hashtag2"]},{"1349838161":["hashtag1","hashtag2"]},{"1349838062":["hashtag1","hashtag2"]},{"1349838104":["hashtag1","hashtag2"]},{"1349838093":["hashtag1","hashtag2"]},{"1349838072":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349838086, 1349838161, 1349838062, 1349838104, 1349838093, 1349838072)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.15363121032715 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:24:02.778127 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_35_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_29_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_23_6625.jpg', 2), ('/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_17_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_11_5660.jpg', 2), ('/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_05_6638.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_35_5621.jpg', '/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_29_5637.jpg', '/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_23_6625.jpg', '/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_17_5637.jpg', '/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_11_5660.jpg', '/home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_05_6638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_35_5621.jpg /home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_29_5637.jpg /home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_23_6625.jpg /home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_17_5637.jpg /home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_11_5660.jpg /home/nano/Desktop/images/15042025/08/10/image_15042025_08_10_05_6638.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349838306","1349838263","1349838275","1349838335","1349838280","1349838366"],"photo_ids_order":["1349838263","1349838275","1349838280","1349838306","1349838335","1349838366"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb3e467bab9308fd83ab9e00182c2756.jpg","text":"TemporaryFile(/tmp/multipartBody4082190908222893185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705504576,"filename":"image_15042025_08_10_17_5637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e081fd07a85483004a2ca77a91ec9d7f.jpg","text":"TemporaryFile(/tmp/multipartBody1085258224544843703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705504576,"filename":"image_15042025_08_10_35_5621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d55cdbb054cf47a559caf17ab216857a.jpg","text":"TemporaryFile(/tmp/multipartBody2948501843879134780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705504576,"filename":"image_15042025_08_10_29_5637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f547d292afd54bb640fb3fcd95c9fed7.jpg","text":"TemporaryFile(/tmp/multipartBody7368076326991350653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705504576,"filename":"image_15042025_08_10_11_5660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e66a9d4e20eacbeea6d6c6e956dac976.jpg","text":"TemporaryFile(/tmp/multipartBody6887173372835840893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705504576,"filename":"image_15042025_08_10_23_6625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e0476a8b6e695ddbf774ce9a8b484071.jpg","text":"TemporaryFile(/tmp/multipartBody3916978666545301434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705504576,"filename":"image_15042025_08_10_05_6638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349838280","file1":"1349838275","file0":"1349838263","file4":"1349838335","file5":"1349838366","file3":"1349838306"},"map_files_photo_id_array":[{"photo_id":"1349838366","filename":"file5"},{"photo_id":"1349838280","filename":"file2"},{"photo_id":"1349838335","filename":"file4"},{"photo_id":"1349838275","filename":"file1"},{"photo_id":"1349838263","filename":"file0"},{"photo_id":"1349838306","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349838306":["hashtag1","hashtag2"]},{"1349838263":["hashtag1","hashtag2"]},{"1349838275":["hashtag1","hashtag2"]},{"1349838335":["hashtag1","hashtag2"]},{"1349838280":["hashtag1","hashtag2"]},{"1349838366":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349838306, 1349838263, 1349838275, 1349838335, 1349838280, 1349838366)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.926419258117676 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:24:42.079018 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_59_5618.jpg', 2), ('/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_47_6651.jpg', 2), ('/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_41_5660.jpg', 2), ('/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_35_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_29_6874.jpg', 2), ('/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_23_5736.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_59_5618.jpg', '/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_47_6651.jpg', '/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_41_5660.jpg', '/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_35_5638.jpg', '/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_29_6874.jpg', '/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_23_5736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_59_5618.jpg /home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_47_6651.jpg /home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_41_5660.jpg /home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_35_5638.jpg /home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_29_6874.jpg /home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_23_5736.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349838581","1349838554","1349838509","1349838472","1349838570","1349838537"],"photo_ids_order":["1349838472","1349838509","1349838537","1349838554","1349838570","1349838581"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9bc3f433292ad4c8ec8e870015d03498.jpg","text":"TemporaryFile(/tmp/multipartBody7633224109852618714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705543875,"filename":"image_15042025_08_09_23_5736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7197810f7ec28380b6ff177bd8fb4cad.jpg","text":"TemporaryFile(/tmp/multipartBody7043275541015882082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705543875,"filename":"image_15042025_08_09_35_5638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69aa721aa688872feb46a8b5c706ba93.jpg","text":"TemporaryFile(/tmp/multipartBody5964702478636986134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705543875,"filename":"image_15042025_08_09_47_6651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c51ab3aa4e7622e8b26e3a9179055c2b.jpg","text":"TemporaryFile(/tmp/multipartBody7727820263321359437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705543875,"filename":"image_15042025_08_09_59_5618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/933c18cb4eb3d409256b0d28b1482a7f.jpg","text":"TemporaryFile(/tmp/multipartBody5114646381006972922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705543875,"filename":"image_15042025_08_09_29_6874.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ceda93d345b64efab190e424b45693e3.jpg","text":"TemporaryFile(/tmp/multipartBody6183622929913617065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705543875,"filename":"image_15042025_08_09_41_5660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349838537","file1":"1349838509","file0":"1349838472","file4":"1349838570","file5":"1349838581","file3":"1349838554"},"map_files_photo_id_array":[{"photo_id":"1349838581","filename":"file5"},{"photo_id":"1349838537","filename":"file2"},{"photo_id":"1349838570","filename":"file4"},{"photo_id":"1349838509","filename":"file1"},{"photo_id":"1349838472","filename":"file0"},{"photo_id":"1349838554","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349838581":["hashtag1","hashtag2"]},{"1349838554":["hashtag1","hashtag2"]},{"1349838509":["hashtag1","hashtag2"]},{"1349838472":["hashtag1","hashtag2"]},{"1349838570":["hashtag1","hashtag2"]},{"1349838537":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349838581, 1349838554, 1349838509, 1349838472, 1349838570, 1349838537)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.469435214996338 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:25:22.175795 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_17_5766.jpg', 2), ('/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_11_5807.jpg', 2), ('/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_05_6767.jpg', 2), ('/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_58_5775.jpg', 2), ('/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_47_5845.jpg', 2), ('/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_41_5772.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_17_5766.jpg', '/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_11_5807.jpg', '/home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_05_6767.jpg', '/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_58_5775.jpg', '/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_47_5845.jpg', '/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_41_5772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_17_5766.jpg /home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_11_5807.jpg /home/nano/Desktop/images/15042025/08/09/image_15042025_08_09_05_6767.jpg /home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_58_5775.jpg /home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_47_5845.jpg /home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_41_5772.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349838801","1349838782","1349838749","1349838809","1349838795","1349838714"],"photo_ids_order":["1349838714","1349838749","1349838782","1349838795","1349838801","1349838809"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e1998407204a5c8e11bdadbdd0c1d538.jpg","text":"TemporaryFile(/tmp/multipartBody3286622466306634640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705583992,"filename":"image_15042025_08_08_47_5845.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/be8a563d0f25cc6ba442af2cdb962714.jpg","text":"TemporaryFile(/tmp/multipartBody267462726465675988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705583992,"filename":"image_15042025_08_09_05_6767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c1f2fe8e34d15cff5e4c5c744a4ad638.jpg","text":"TemporaryFile(/tmp/multipartBody2204552352387974332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705583992,"filename":"image_15042025_08_09_11_5807.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c75445de5ad3f36435bbff4cc1e1cb92.jpg","text":"TemporaryFile(/tmp/multipartBody1617768329228186683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705583992,"filename":"image_15042025_08_08_41_5772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f1c2aa2c4abb19083309f5365d849f5.jpg","text":"TemporaryFile(/tmp/multipartBody452340335130004784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705583992,"filename":"image_15042025_08_08_58_5775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef1523e77aba9b9472d065ba70a20558.jpg","text":"TemporaryFile(/tmp/multipartBody203890432327090693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705583992,"filename":"image_15042025_08_09_17_5766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349838782","file1":"1349838749","file0":"1349838714","file4":"1349838801","file5":"1349838809","file3":"1349838795"},"map_files_photo_id_array":[{"photo_id":"1349838809","filename":"file5"},{"photo_id":"1349838782","filename":"file2"},{"photo_id":"1349838801","filename":"file4"},{"photo_id":"1349838749","filename":"file1"},{"photo_id":"1349838714","filename":"file0"},{"photo_id":"1349838795","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349838801":["hashtag1","hashtag2"]},{"1349838782":["hashtag1","hashtag2"]},{"1349838749":["hashtag1","hashtag2"]},{"1349838809":["hashtag1","hashtag2"]},{"1349838795":["hashtag1","hashtag2"]},{"1349838714":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349838801, 1349838782, 1349838749, 1349838809, 1349838795, 1349838714)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.585288763046265 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:26:03.103008 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_35_5774.jpg', 2), ('/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_29_6775.jpg', 2), ('/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_23_5831.jpg', 2), ('/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_11_5720.jpg', 2), ('/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_05_5795.jpg', 2), ('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_59_6824.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_35_5774.jpg', '/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_29_6775.jpg', '/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_23_5831.jpg', '/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_11_5720.jpg', '/home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_05_5795.jpg', '/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_59_6824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_35_5774.jpg /home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_29_6775.jpg /home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_23_5831.jpg /home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_11_5720.jpg /home/nano/Desktop/images/15042025/08/08/image_15042025_08_08_05_5795.jpg /home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_59_6824.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349838917","1349838839","1349838871","1349838891","1349838885","1349838867"],"photo_ids_order":["1349838839","1349838867","1349838871","1349838885","1349838891","1349838917"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70e8867300ed2e32e753eed73cf9d089.jpg","text":"TemporaryFile(/tmp/multipartBody7373447490664969931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705624931,"filename":"image_15042025_08_07_59_6824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fa5cc465101664c41badcc58bb060d69.jpg","text":"TemporaryFile(/tmp/multipartBody6816039867019766956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705624931,"filename":"image_15042025_08_08_35_5774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5897faf0d79da5afb120920bf5a324dc.jpg","text":"TemporaryFile(/tmp/multipartBody6392340896737500475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705624931,"filename":"image_15042025_08_08_23_5831.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/31bbf27c1fac87725b24dd1f1c1b4e2c.jpg","text":"TemporaryFile(/tmp/multipartBody5477789606884976879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705624931,"filename":"image_15042025_08_08_05_5795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7796b98a925a93d262fe199480552b8d.jpg","text":"TemporaryFile(/tmp/multipartBody571262538909700214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705624931,"filename":"image_15042025_08_08_11_5720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9348b58893c5654a1f1f67045696d3d7.jpg","text":"TemporaryFile(/tmp/multipartBody409756473368177053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705624931,"filename":"image_15042025_08_08_29_6775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349838871","file1":"1349838867","file0":"1349838839","file4":"1349838891","file5":"1349838917","file3":"1349838885"},"map_files_photo_id_array":[{"photo_id":"1349838917","filename":"file5"},{"photo_id":"1349838871","filename":"file2"},{"photo_id":"1349838891","filename":"file4"},{"photo_id":"1349838867","filename":"file1"},{"photo_id":"1349838839","filename":"file0"},{"photo_id":"1349838885","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349838917":["hashtag1","hashtag2"]},{"1349838839":["hashtag1","hashtag2"]},{"1349838871":["hashtag1","hashtag2"]},{"1349838891":["hashtag1","hashtag2"]},{"1349838885":["hashtag1","hashtag2"]},{"1349838867":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349838917, 1349838839, 1349838871, 1349838891, 1349838885, 1349838867)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 35.712746143341064 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:26:42.411551 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_52_5752.jpg', 2), ('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_47_5844.jpg', 2), ('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_41_6019.jpg', 2), ('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_35_5944.jpg', 2), ('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_29_5817.jpg', 2), ('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_23_5797.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_52_5752.jpg', '/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_47_5844.jpg', '/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_41_6019.jpg', '/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_35_5944.jpg', '/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_29_5817.jpg', '/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_23_5797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_52_5752.jpg /home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_47_5844.jpg /home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_41_6019.jpg /home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_35_5944.jpg /home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_29_5817.jpg /home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_23_5797.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349838977","1349838965","1349838950","1349838944","1349838970","1349838960"],"photo_ids_order":["1349838944","1349838950","1349838960","1349838965","1349838970","1349838977"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a7e4b39fc37d99006e4deeb635878687.jpg","text":"TemporaryFile(/tmp/multipartBody1361809298933489871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705664261,"filename":"image_15042025_08_07_23_5797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4d2dd74925d2f1b5c560f6d0d0b9fab.jpg","text":"TemporaryFile(/tmp/multipartBody491226783294808108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705664261,"filename":"image_15042025_08_07_35_5944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ded6f7fb8fa0137f06df0f0d822d87cc.jpg","text":"TemporaryFile(/tmp/multipartBody5926839229820695466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705664261,"filename":"image_15042025_08_07_47_5844.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/807a57e74a60debaf57fecccae0c61f1.jpg","text":"TemporaryFile(/tmp/multipartBody2955444115562173890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705664261,"filename":"image_15042025_08_07_52_5752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ff838678d9992720a4efa5e9e984de75.jpg","text":"TemporaryFile(/tmp/multipartBody418021054342807631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705664261,"filename":"image_15042025_08_07_29_5817.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1f269bc7def9f487f0cbb824d0141a4e.jpg","text":"TemporaryFile(/tmp/multipartBody8449757565586401993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705664261,"filename":"image_15042025_08_07_41_6019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349838960","file1":"1349838950","file0":"1349838944","file4":"1349838970","file5":"1349838977","file3":"1349838965"},"map_files_photo_id_array":[{"photo_id":"1349838977","filename":"file5"},{"photo_id":"1349838960","filename":"file2"},{"photo_id":"1349838970","filename":"file4"},{"photo_id":"1349838950","filename":"file1"},{"photo_id":"1349838944","filename":"file0"},{"photo_id":"1349838965","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349838977":["hashtag1","hashtag2"]},{"1349838965":["hashtag1","hashtag2"]},{"1349838950":["hashtag1","hashtag2"]},{"1349838944":["hashtag1","hashtag2"]},{"1349838970":["hashtag1","hashtag2"]},{"1349838960":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349838977, 1349838965, 1349838950, 1349838944, 1349838970, 1349838960)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.85261583328247 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:27:22.512080 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_17_6863.jpg', 2), ('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_10_5780.jpg', 2), ('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_05_5779.jpg', 2), ('/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_59_5726.jpg', 2), ('/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_53_6648.jpg', 2), ('/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_46_5636.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_17_6863.jpg', '/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_10_5780.jpg', '/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_05_5779.jpg', '/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_59_5726.jpg', '/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_53_6648.jpg', '/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_46_5636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_17_6863.jpg /home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_10_5780.jpg /home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_05_5779.jpg /home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_59_5726.jpg /home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_53_6648.jpg /home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_46_5636.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.41648197174072266 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443
\n\n' 400 [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:27:42.524989 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_17_6863.jpg', 2), ('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_10_5780.jpg', 2), ('/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_05_5779.jpg', 2), ('/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_59_5726.jpg', 2), ('/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_53_6648.jpg', 2), ('/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_46_5636.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_17_6863.jpg', '/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_10_5780.jpg', '/home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_05_5779.jpg', '/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_59_5726.jpg', '/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_53_6648.jpg', '/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_46_5636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_17_6863.jpg /home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_10_5780.jpg /home/nano/Desktop/images/15042025/08/07/image_15042025_08_07_05_5779.jpg /home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_59_5726.jpg /home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_53_6648.jpg /home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_46_5636.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349839037","1349839042","1349839045","1349839021","1349839029","1349839050"],"photo_ids_order":["1349839021","1349839029","1349839037","1349839042","1349839045","1349839050"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11ed6b61e4df2e1a56a66741a56fd97a.jpg","text":"TemporaryFile(/tmp/multipartBody5042637862748554230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705724320,"filename":"image_15042025_08_07_05_5779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf845e8e401cda53f73b62bfb052461c.jpg","text":"TemporaryFile(/tmp/multipartBody7157515832829523585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705724320,"filename":"image_15042025_08_06_59_5726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77d440f77f31fe655354f76d7a67dabc.jpg","text":"TemporaryFile(/tmp/multipartBody8694381433099464156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705724320,"filename":"image_15042025_08_06_53_6648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc3b14063de7c55da98fce284cd285c6.jpg","text":"TemporaryFile(/tmp/multipartBody6099527833760118977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705724320,"filename":"image_15042025_08_07_17_6863.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/62040fba1a1a364b1441ce8fd8fd4a35.jpg","text":"TemporaryFile(/tmp/multipartBody7764164026450320724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705724320,"filename":"image_15042025_08_07_10_5780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/adbf73991d7b52989cd8dd411ebd5b40.jpg","text":"TemporaryFile(/tmp/multipartBody2439098133476089152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705724320,"filename":"image_15042025_08_06_46_5636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349839037","file1":"1349839029","file0":"1349839021","file4":"1349839045","file5":"1349839050","file3":"1349839042"},"map_files_photo_id_array":[{"photo_id":"1349839050","filename":"file5"},{"photo_id":"1349839037","filename":"file2"},{"photo_id":"1349839045","filename":"file4"},{"photo_id":"1349839029","filename":"file1"},{"photo_id":"1349839021","filename":"file0"},{"photo_id":"1349839042","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349839037":["hashtag1","hashtag2"]},{"1349839042":["hashtag1","hashtag2"]},{"1349839045":["hashtag1","hashtag2"]},{"1349839021":["hashtag1","hashtag2"]},{"1349839029":["hashtag1","hashtag2"]},{"1349839050":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349839037, 1349839042, 1349839045, 1349839021, 1349839029, 1349839050)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.24271869659424 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:28:22.674750 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/28/image_15042025_10_28_59_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_41_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_35_5971.jpg', 2), ('/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_23_6627.jpg', 2), ('/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_17_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_11_6630.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/28/image_15042025_10_28_59_6102.jpg', '/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_41_5629.jpg', '/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_35_5971.jpg', '/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_23_6627.jpg', '/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_17_5635.jpg', '/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_11_6630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/28/image_15042025_10_28_59_6102.jpg /home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_41_5629.jpg /home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_35_5971.jpg /home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_23_6627.jpg /home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_17_5635.jpg /home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_11_6630.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349839072","1349839069","1349839066","1349839116","1349839107","1349839079"],"photo_ids_order":["1349839066","1349839069","1349839072","1349839079","1349839107","1349839116"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5461b2541b97196ba4b9c05f306d2c59.jpg","text":"TemporaryFile(/tmp/multipartBody2995059936563633425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705764446,"filename":"image_15042025_08_06_35_5971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/511f3454af1cf0c704388385c56025f1.jpg","text":"TemporaryFile(/tmp/multipartBody4251391280934989574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705764446,"filename":"image_15042025_08_06_41_5629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4377960086467dac60bce33b2043ee8e.jpg","text":"TemporaryFile(/tmp/multipartBody5496316261521228111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705764446,"filename":"image_15042025_10_28_59_6102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d7efaea24f705eb2d3a8af296561d8b2.jpg","text":"TemporaryFile(/tmp/multipartBody4978405513984680291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705764446,"filename":"image_15042025_08_06_11_6630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e35f9fa4d4d910a1184f34047a682c2.jpg","text":"TemporaryFile(/tmp/multipartBody7558149415421066076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705764446,"filename":"image_15042025_08_06_17_5635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e69dede96a9123a2e6e7bd8dbb3a204.jpg","text":"TemporaryFile(/tmp/multipartBody8342594702572648478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705764446,"filename":"image_15042025_08_06_23_6627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349839072","file1":"1349839069","file0":"1349839066","file4":"1349839107","file5":"1349839116","file3":"1349839079"},"map_files_photo_id_array":[{"photo_id":"1349839116","filename":"file5"},{"photo_id":"1349839072","filename":"file2"},{"photo_id":"1349839107","filename":"file4"},{"photo_id":"1349839069","filename":"file1"},{"photo_id":"1349839066","filename":"file0"},{"photo_id":"1349839079","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349839072":["hashtag1","hashtag2"]},{"1349839069":["hashtag1","hashtag2"]},{"1349839066":["hashtag1","hashtag2"]},{"1349839116":["hashtag1","hashtag2"]},{"1349839107":["hashtag1","hashtag2"]},{"1349839079":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349839072, 1349839069, 1349839066, 1349839116, 1349839107, 1349839079)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.52884817123413 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:29:03.477025 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_05_5648.jpg', 2), ('/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_59_5692.jpg', 2), ('/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_53_6640.jpg', 2), ('/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_47_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_41_5623.jpg', 2), ('/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_35_6636.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_05_5648.jpg', '/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_59_5692.jpg', '/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_53_6640.jpg', '/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_47_5622.jpg', '/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_41_5623.jpg', '/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_35_6636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/06/image_15042025_08_06_05_5648.jpg /home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_59_5692.jpg /home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_53_6640.jpg /home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_47_5622.jpg /home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_41_5623.jpg /home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_35_6636.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349839186","1349839249","1349839225","1349839155","1349839242","1349839142"],"photo_ids_order":["1349839142","1349839155","1349839186","1349839225","1349839242","1349839249"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e122da9d67dd3ef15fd5b6fefcbbbb2a.jpg","text":"TemporaryFile(/tmp/multipartBody7703511772772219050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705805324,"filename":"image_15042025_08_05_53_6640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7cef5c660f7239fdd201189d0db318f3.jpg","text":"TemporaryFile(/tmp/multipartBody5747530132290871946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705805324,"filename":"image_15042025_08_05_35_6636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/37c3ac1642bc0688fa4fa66d8dab9e60.jpg","text":"TemporaryFile(/tmp/multipartBody640964081929392915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705805324,"filename":"image_15042025_08_05_47_5622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/824d89cf4e9811a3371cc4890e1568d8.jpg","text":"TemporaryFile(/tmp/multipartBody979690702596276044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705805324,"filename":"image_15042025_08_05_59_5692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5edc6f1dc6b54d13f352167a20b21dac.jpg","text":"TemporaryFile(/tmp/multipartBody5890011196760100955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705805324,"filename":"image_15042025_08_05_41_5623.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7f11afb358d9ac9253f07434f76a3815.jpg","text":"TemporaryFile(/tmp/multipartBody6207259753551949709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705805324,"filename":"image_15042025_08_06_05_5648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349839186","file1":"1349839155","file0":"1349839142","file4":"1349839242","file5":"1349839249","file3":"1349839225"},"map_files_photo_id_array":[{"photo_id":"1349839249","filename":"file5"},{"photo_id":"1349839186","filename":"file2"},{"photo_id":"1349839242","filename":"file4"},{"photo_id":"1349839155","filename":"file1"},{"photo_id":"1349839142","filename":"file0"},{"photo_id":"1349839225","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349839186":["hashtag1","hashtag2"]},{"1349839249":["hashtag1","hashtag2"]},{"1349839225":["hashtag1","hashtag2"]},{"1349839155":["hashtag1","hashtag2"]},{"1349839242":["hashtag1","hashtag2"]},{"1349839142":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349839186, 1349839249, 1349839225, 1349839155, 1349839242, 1349839142)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 36.28724718093872 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:29:42.774379 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_29_5648.jpg', 2), ('/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_17_6658.jpg', 2), ('/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_11_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_05_5845.jpg', 2), ('/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_59_6636.jpg', 2), ('/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_53_5692.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_29_5648.jpg', '/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_17_6658.jpg', '/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_11_5638.jpg', '/home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_05_5845.jpg', '/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_59_6636.jpg', '/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_53_5692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_29_5648.jpg /home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_17_6658.jpg /home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_11_5638.jpg /home/nano/Desktop/images/15042025/08/05/image_15042025_08_05_05_5845.jpg /home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_59_6636.jpg /home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_53_5692.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349839325","1349839319","1349839342","1349839330","1349839347","1349839335"],"photo_ids_order":["1349839319","1349839325","1349839330","1349839335","1349839342","1349839347"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b7a3b156e44de6e3d376eb82e0cc49e.jpg","text":"TemporaryFile(/tmp/multipartBody7998091699749570192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705844530,"filename":"image_15042025_08_05_17_6658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f3c3fb266b969246d5f1f95b1090060.jpg","text":"TemporaryFile(/tmp/multipartBody2647688504824077889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705844530,"filename":"image_15042025_08_05_29_5648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e1c09412495f61ab9e27f7df8e2c9ac.jpg","text":"TemporaryFile(/tmp/multipartBody1671906135914204231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705844530,"filename":"image_15042025_08_04_59_6636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c23a9eeee02d5a6af7ae2d97a4b0aae.jpg","text":"TemporaryFile(/tmp/multipartBody657368337183297368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705844530,"filename":"image_15042025_08_05_11_5638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8370ba1b82c94b152c2ff6af0e833cc7.jpg","text":"TemporaryFile(/tmp/multipartBody8739122966853089988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705844530,"filename":"image_15042025_08_04_53_5692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3fb38d7c6e19ba699baaec4883cc890.jpg","text":"TemporaryFile(/tmp/multipartBody4828416867893831482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705844530,"filename":"image_15042025_08_05_05_5845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349839330","file1":"1349839325","file0":"1349839319","file4":"1349839342","file5":"1349839347","file3":"1349839335"},"map_files_photo_id_array":[{"photo_id":"1349839347","filename":"file5"},{"photo_id":"1349839330","filename":"file2"},{"photo_id":"1349839342","filename":"file4"},{"photo_id":"1349839325","filename":"file1"},{"photo_id":"1349839319","filename":"file0"},{"photo_id":"1349839335","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349839325":["hashtag1","hashtag2"]},{"1349839319":["hashtag1","hashtag2"]},{"1349839342":["hashtag1","hashtag2"]},{"1349839330":["hashtag1","hashtag2"]},{"1349839347":["hashtag1","hashtag2"]},{"1349839335":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349839325, 1349839319, 1349839342, 1349839330, 1349839347, 1349839335)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 36.401811599731445 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:30:21.897290 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_47_5984.jpg', 2), ('/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_41_5774.jpg', 2), ('/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_35_5856.jpg', 2), ('/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_29_6763.jpg', 2), ('/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_23_5789.jpg', 2), ('/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_17_5782.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_47_5984.jpg', '/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_41_5774.jpg', '/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_35_5856.jpg', '/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_29_6763.jpg', '/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_23_5789.jpg', '/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_17_5782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_47_5984.jpg /home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_41_5774.jpg /home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_35_5856.jpg /home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_29_6763.jpg /home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_23_5789.jpg /home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_17_5782.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349839445","1349839433","1349839409","1349839447","1349839438","1349839478"],"photo_ids_order":["1349839409","1349839433","1349839438","1349839445","1349839447","1349839478"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9134e14132d6d07788b6b2ab6cf25d6a.jpg","text":"TemporaryFile(/tmp/multipartBody7440529180188211829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705883741,"filename":"image_15042025_08_04_29_6763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/84751947b398b3a9b10a886ef7f1f30c.jpg","text":"TemporaryFile(/tmp/multipartBody8580023708122586893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705883741,"filename":"image_15042025_08_04_41_5774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e73826b6eca632d53ef614cc4c31521d.jpg","text":"TemporaryFile(/tmp/multipartBody919285248072103533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705883741,"filename":"image_15042025_08_04_47_5984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61a55ccb87103608d297e90393364d0a.jpg","text":"TemporaryFile(/tmp/multipartBody2486420997100905244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705883741,"filename":"image_15042025_08_04_23_5789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68141a809bf2ee7d9b7c5b143592e962.jpg","text":"TemporaryFile(/tmp/multipartBody7067838128439558262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705883741,"filename":"image_15042025_08_04_35_5856.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b87414aeaa8d25597eb395a5fdeee54e.jpg","text":"TemporaryFile(/tmp/multipartBody2880220900407071405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705883741,"filename":"image_15042025_08_04_17_5782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349839438","file1":"1349839433","file0":"1349839409","file4":"1349839447","file5":"1349839478","file3":"1349839445"},"map_files_photo_id_array":[{"photo_id":"1349839478","filename":"file5"},{"photo_id":"1349839438","filename":"file2"},{"photo_id":"1349839447","filename":"file4"},{"photo_id":"1349839433","filename":"file1"},{"photo_id":"1349839409","filename":"file0"},{"photo_id":"1349839445","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349839445":["hashtag1","hashtag2"]},{"1349839433":["hashtag1","hashtag2"]},{"1349839409":["hashtag1","hashtag2"]},{"1349839447":["hashtag1","hashtag2"]},{"1349839438":["hashtag1","hashtag2"]},{"1349839478":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349839445, 1349839433, 1349839409, 1349839447, 1349839438, 1349839478)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.67049217224121 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:31:02.678240 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_11_5860.jpg', 2), ('/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_05_5756.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_59_6833.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_52_5732.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_47_5849.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_41_5822.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_11_5860.jpg', '/home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_05_5756.jpg', '/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_59_6833.jpg', '/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_52_5732.jpg', '/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_47_5849.jpg', '/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_41_5822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_11_5860.jpg /home/nano/Desktop/images/15042025/08/04/image_15042025_08_04_05_5756.jpg /home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_59_6833.jpg /home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_52_5732.jpg /home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_47_5849.jpg /home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_41_5822.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349839748","1349839753","1349839549","1349839608","1349839679","1349839652"],"photo_ids_order":["1349839549","1349839608","1349839652","1349839679","1349839748","1349839753"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c49aa75e6eefe5733f84e978a4493f9a.jpg","text":"TemporaryFile(/tmp/multipartBody1432229327413561730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705924509,"filename":"image_15042025_08_03_47_5849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3459626aada703fc51a6c578a6a1f84b.jpg","text":"TemporaryFile(/tmp/multipartBody5763903822652956697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705924509,"filename":"image_15042025_08_03_41_5822.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce5cd0cc53abe9a3af8b6285c4f55f4e.jpg","text":"TemporaryFile(/tmp/multipartBody7617526131471564618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705924509,"filename":"image_15042025_08_04_11_5860.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/857707f247828cd7a2e52641164c40ae.jpg","text":"TemporaryFile(/tmp/multipartBody8297864849575546251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705924509,"filename":"image_15042025_08_04_05_5756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aaafda1ee1a57dc2d5c3995205b9360a.jpg","text":"TemporaryFile(/tmp/multipartBody5059347460881587180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705924509,"filename":"image_15042025_08_03_52_5732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b25c81583ecd7de71661bfba1a1feb69.jpg","text":"TemporaryFile(/tmp/multipartBody8961202009703208269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705924509,"filename":"image_15042025_08_03_59_6833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349839652","file1":"1349839608","file0":"1349839549","file4":"1349839748","file5":"1349839753","file3":"1349839679"},"map_files_photo_id_array":[{"photo_id":"1349839753","filename":"file5"},{"photo_id":"1349839652","filename":"file2"},{"photo_id":"1349839748","filename":"file4"},{"photo_id":"1349839608","filename":"file1"},{"photo_id":"1349839549","filename":"file0"},{"photo_id":"1349839679","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349839748":["hashtag1","hashtag2"]},{"1349839753":["hashtag1","hashtag2"]},{"1349839549":["hashtag1","hashtag2"]},{"1349839608":["hashtag1","hashtag2"]},{"1349839679":["hashtag1","hashtag2"]},{"1349839652":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349839748, 1349839753, 1349839549, 1349839608, 1349839679, 1349839652)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 34.131836891174316 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:31:42.083370 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_35_5789.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_29_6730.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_23_5720.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_17_5833.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_11_5753.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_05_6680.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_35_5789.jpg', '/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_29_6730.jpg', '/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_23_5720.jpg', '/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_17_5833.jpg', '/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_11_5753.jpg', '/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_05_6680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_35_5789.jpg /home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_29_6730.jpg /home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_23_5720.jpg /home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_17_5833.jpg /home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_11_5753.jpg /home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_05_6680.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.4270012378692627 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443
\n\n' 400 [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:32:02.831937 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_35_5789.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_29_6730.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_23_5720.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_17_5833.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_11_5753.jpg', 2), ('/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_05_6680.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_35_5789.jpg', '/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_29_6730.jpg', '/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_23_5720.jpg', '/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_17_5833.jpg', '/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_11_5753.jpg', '/home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_05_6680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_35_5789.jpg /home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_29_6730.jpg /home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_23_5720.jpg /home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_17_5833.jpg /home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_11_5753.jpg /home/nano/Desktop/images/15042025/08/03/image_15042025_08_03_05_6680.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349839924","1349839906","1349839887","1349839875","1349839842","1349840055"],"photo_ids_order":["1349839842","1349839875","1349839887","1349839906","1349839924","1349840055"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/682e65996143bd9f19d84e90c4dc3162.jpg","text":"TemporaryFile(/tmp/multipartBody3895818133639211013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705984648,"filename":"image_15042025_08_03_11_5753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44bbe7527ad067815b5882374ddfba85.jpg","text":"TemporaryFile(/tmp/multipartBody5773306773581886192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705984648,"filename":"image_15042025_08_03_17_5833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c9d8ec9fff589522b3a640eb50f9e15c.jpg","text":"TemporaryFile(/tmp/multipartBody2299543049690515280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705984648,"filename":"image_15042025_08_03_23_5720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8719a736ade7c9af21a177b596c955a5.jpg","text":"TemporaryFile(/tmp/multipartBody7476853007244367081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705984648,"filename":"image_15042025_08_03_29_6730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/773f47d8b06c6729bbc1a8e9d5e71daa.jpg","text":"TemporaryFile(/tmp/multipartBody8517585287575723976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705984648,"filename":"image_15042025_08_03_35_5789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e53cd7620cc3de3d37e08abbb47f137.jpg","text":"TemporaryFile(/tmp/multipartBody7639623065063304768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744705984648,"filename":"image_15042025_08_03_05_6680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349839887","file1":"1349839875","file0":"1349839842","file4":"1349839924","file5":"1349840055","file3":"1349839906"},"map_files_photo_id_array":[{"photo_id":"1349840055","filename":"file5"},{"photo_id":"1349839887","filename":"file2"},{"photo_id":"1349839924","filename":"file4"},{"photo_id":"1349839875","filename":"file1"},{"photo_id":"1349839842","filename":"file0"},{"photo_id":"1349839906","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349839924":["hashtag1","hashtag2"]},{"1349839906":["hashtag1","hashtag2"]},{"1349839887":["hashtag1","hashtag2"]},{"1349839875":["hashtag1","hashtag2"]},{"1349839842":["hashtag1","hashtag2"]},{"1349840055":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349839924, 1349839906, 1349839887, 1349839875, 1349839842, 1349840055)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.173241138458252 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:32:42.219896 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_59_5645.jpg', 2), ('/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_53_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_47_6645.jpg', 2), ('/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_41_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_35_5613.jpg', 2), ('/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_29_6663.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_59_5645.jpg', '/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_53_5635.jpg', '/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_47_6645.jpg', '/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_41_5640.jpg', '/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_35_5613.jpg', '/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_29_6663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_59_5645.jpg /home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_53_5635.jpg /home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_47_6645.jpg /home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_41_5640.jpg /home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_35_5613.jpg /home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_29_6663.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349840162","1349840153","1349840176","1349840158","1349840169","1349840136"],"photo_ids_order":["1349840136","1349840153","1349840158","1349840162","1349840169","1349840176"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/671b048258173c4b0c036f7d8eb429d9.jpg","text":"TemporaryFile(/tmp/multipartBody957609995779293935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706023948,"filename":"image_15042025_08_02_41_5640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/99204422f855e56a1ccbababfcac96c5.jpg","text":"TemporaryFile(/tmp/multipartBody186996848837170981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706023948,"filename":"image_15042025_08_02_53_5635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3141001833cbaf58248658f16911e007.jpg","text":"TemporaryFile(/tmp/multipartBody3957023153959320589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706023948,"filename":"image_15042025_08_02_29_6663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d76dc6463b3fe03c55e0b1925fa90fcf.jpg","text":"TemporaryFile(/tmp/multipartBody3906372839755164452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706023948,"filename":"image_15042025_08_02_47_6645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/51dd44acf2f4c87ad1ec6babd46a278a.jpg","text":"TemporaryFile(/tmp/multipartBody9216982097032106077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706023948,"filename":"image_15042025_08_02_35_5613.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/956a5d29a17fc572167291a1392b6675.jpg","text":"TemporaryFile(/tmp/multipartBody7399238269487339738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706023948,"filename":"image_15042025_08_02_59_5645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349840158","file1":"1349840153","file0":"1349840136","file4":"1349840169","file5":"1349840176","file3":"1349840162"},"map_files_photo_id_array":[{"photo_id":"1349840176","filename":"file5"},{"photo_id":"1349840158","filename":"file2"},{"photo_id":"1349840169","filename":"file4"},{"photo_id":"1349840153","filename":"file1"},{"photo_id":"1349840136","filename":"file0"},{"photo_id":"1349840162","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349840162":["hashtag1","hashtag2"]},{"1349840153":["hashtag1","hashtag2"]},{"1349840176":["hashtag1","hashtag2"]},{"1349840158":["hashtag1","hashtag2"]},{"1349840169":["hashtag1","hashtag2"]},{"1349840136":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349840162, 1349840153, 1349840176, 1349840158, 1349840169, 1349840136)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 37.789241790771484 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:33:22.397694 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/33/image_15042025_10_33_59_6062.jpg', 2), ('/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_23_5618.jpg', 2), ('/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_17_6649.jpg', 2), ('/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_10_5627.jpg', 2), ('/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_05_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_59_6636.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/33/image_15042025_10_33_59_6062.jpg', '/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_23_5618.jpg', '/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_17_6649.jpg', '/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_10_5627.jpg', '/home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_05_5642.jpg', '/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_59_6636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/33/image_15042025_10_33_59_6062.jpg /home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_23_5618.jpg /home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_17_6649.jpg /home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_10_5627.jpg /home/nano/Desktop/images/15042025/08/02/image_15042025_08_02_05_5642.jpg /home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_59_6636.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349840273","1349840251","1349840257","1349840283","1349840262","1349840247"],"photo_ids_order":["1349840247","1349840251","1349840257","1349840262","1349840273","1349840283"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd879d24638114663e6aba98829ea82d.jpg","text":"TemporaryFile(/tmp/multipartBody2292439867456738822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706064140,"filename":"image_15042025_08_02_05_5642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/348fb8c6c4cbe9280f40289e3b34e122.jpg","text":"TemporaryFile(/tmp/multipartBody2175424417660325965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706064140,"filename":"image_15042025_08_02_23_5618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6706fc6f70db9313466e8e94a3e1191c.jpg","text":"TemporaryFile(/tmp/multipartBody4292834181575424879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706064140,"filename":"image_15042025_08_02_17_6649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5cffa7da021b16ebb6fe1290447f8457.jpg","text":"TemporaryFile(/tmp/multipartBody2606000742618126125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706064140,"filename":"image_15042025_08_01_59_6636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/244e939f73bcd454cc1b8cefc6944920.jpg","text":"TemporaryFile(/tmp/multipartBody6941720994256765190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706064140,"filename":"image_15042025_08_02_10_5627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f78f856a53c7ac6eb551daa8f26d253d.jpg","text":"TemporaryFile(/tmp/multipartBody2548519938603993669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706064140,"filename":"image_15042025_10_33_59_6062.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349840257","file1":"1349840251","file0":"1349840247","file4":"1349840273","file5":"1349840283","file3":"1349840262"},"map_files_photo_id_array":[{"photo_id":"1349840283","filename":"file5"},{"photo_id":"1349840257","filename":"file2"},{"photo_id":"1349840273","filename":"file4"},{"photo_id":"1349840251","filename":"file1"},{"photo_id":"1349840247","filename":"file0"},{"photo_id":"1349840262","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349840273":["hashtag1","hashtag2"]},{"1349840251":["hashtag1","hashtag2"]},{"1349840257":["hashtag1","hashtag2"]},{"1349840283":["hashtag1","hashtag2"]},{"1349840262":["hashtag1","hashtag2"]},{"1349840247":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349840273, 1349840251, 1349840257, 1349840283, 1349840262, 1349840247)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.04007887840271 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:34:03.485816 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_53_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_47_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_41_6657.jpg', 2), ('/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_35_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_29_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_23_6671.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_53_5638.jpg', '/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_47_5638.jpg', '/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_41_6657.jpg', '/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_35_5654.jpg', '/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_29_5633.jpg', '/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_23_6671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_53_5638.jpg /home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_47_5638.jpg /home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_41_6657.jpg /home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_35_5654.jpg /home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_29_5633.jpg /home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_23_6671.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349840369","1349840380","1349840386","1349840374","1349840364","1349840358"],"photo_ids_order":["1349840358","1349840364","1349840369","1349840374","1349840380","1349840386"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae0703add5e4135529476a43bd9f4342.jpg","text":"TemporaryFile(/tmp/multipartBody1559619400734644259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706105224,"filename":"image_15042025_08_01_41_6657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64537368c569a2f2ed9f37bbcaaada62.jpg","text":"TemporaryFile(/tmp/multipartBody5574184076991293021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706105224,"filename":"image_15042025_08_01_29_5633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/51b9b6f3e23fb945bebb637aad767aa4.jpg","text":"TemporaryFile(/tmp/multipartBody359269061708911398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706105224,"filename":"image_15042025_08_01_23_6671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d9f213ca841e0392b89b7ebe1a1312f.jpg","text":"TemporaryFile(/tmp/multipartBody8398093146757960522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706105224,"filename":"image_15042025_08_01_35_5654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e7d55a99c25d0ddfe3cabe3bd3c49dcd.jpg","text":"TemporaryFile(/tmp/multipartBody7256055165389848891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706105224,"filename":"image_15042025_08_01_47_5638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/48ac1329bd1fecec5073ae41bb4e3017.jpg","text":"TemporaryFile(/tmp/multipartBody3494961128900191024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706105224,"filename":"image_15042025_08_01_53_5638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349840369","file1":"1349840364","file0":"1349840358","file4":"1349840380","file5":"1349840386","file3":"1349840374"},"map_files_photo_id_array":[{"photo_id":"1349840386","filename":"file5"},{"photo_id":"1349840369","filename":"file2"},{"photo_id":"1349840380","filename":"file4"},{"photo_id":"1349840364","filename":"file1"},{"photo_id":"1349840358","filename":"file0"},{"photo_id":"1349840374","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349840369":["hashtag1","hashtag2"]},{"1349840380":["hashtag1","hashtag2"]},{"1349840386":["hashtag1","hashtag2"]},{"1349840374":["hashtag1","hashtag2"]},{"1349840364":["hashtag1","hashtag2"]},{"1349840358":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349840369, 1349840380, 1349840386, 1349840374, 1349840364, 1349840358)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.828882455825806 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:34:42.495250 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_11_5636.jpg', 2), ('/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_05_6656.jpg', 2), ('/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_59_5628.jpg', 2), ('/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_53_6639.jpg', 2), ('/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_46_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_35_6678.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_11_5636.jpg', '/home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_05_6656.jpg', '/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_59_5628.jpg', '/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_53_6639.jpg', '/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_46_5632.jpg', '/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_35_6678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_11_5636.jpg /home/nano/Desktop/images/15042025/08/01/image_15042025_08_01_05_6656.jpg /home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_59_5628.jpg /home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_53_6639.jpg /home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_46_5632.jpg /home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_35_6678.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349840666","1349840554","1349840584","1349840518","1349840626","1349840766"],"photo_ids_order":["1349840518","1349840554","1349840584","1349840626","1349840666","1349840766"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21823f3ed6819d8029e4a1723cee7529.jpg","text":"TemporaryFile(/tmp/multipartBody1125828998338193902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706144218,"filename":"image_15042025_08_00_46_5632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/52a95da656eb9ceaf13f116097e3d87c.jpg","text":"TemporaryFile(/tmp/multipartBody4684860671511529023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706144218,"filename":"image_15042025_08_01_05_6656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de43fdc4bc3292c68c59271fa6dcc014.jpg","text":"TemporaryFile(/tmp/multipartBody3889991876784035103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706144218,"filename":"image_15042025_08_00_59_5628.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ef53cbbbe0556554e9f784ef9c31c30.jpg","text":"TemporaryFile(/tmp/multipartBody8232208932542955133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706144218,"filename":"image_15042025_08_01_11_5636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4eecd12eee24f6cf1f5cf292887baafa.jpg","text":"TemporaryFile(/tmp/multipartBody7690402738297064497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706144218,"filename":"image_15042025_08_00_53_6639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b49ed3b5f09f7da580e90e6cc7f3480.jpg","text":"TemporaryFile(/tmp/multipartBody774557761010375028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706144218,"filename":"image_15042025_08_00_35_6678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349840584","file1":"1349840554","file0":"1349840518","file4":"1349840666","file5":"1349840766","file3":"1349840626"},"map_files_photo_id_array":[{"photo_id":"1349840766","filename":"file5"},{"photo_id":"1349840584","filename":"file2"},{"photo_id":"1349840666","filename":"file4"},{"photo_id":"1349840554","filename":"file1"},{"photo_id":"1349840518","filename":"file0"},{"photo_id":"1349840626","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349840666":["hashtag1","hashtag2"]},{"1349840554":["hashtag1","hashtag2"]},{"1349840584":["hashtag1","hashtag2"]},{"1349840518":["hashtag1","hashtag2"]},{"1349840626":["hashtag1","hashtag2"]},{"1349840766":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349840666, 1349840554, 1349840584, 1349840518, 1349840626, 1349840766)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.558674812316895 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:35:22.584884 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/15/image_15042025_10_15_35_6103.jpg', 2), ('/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_29_5813.jpg', 2), ('/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_23_5736.jpg', 2), ('/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_17_5893.jpg', 2), ('/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_11_5945.jpg', 2), ('/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_05_6235.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/15/image_15042025_10_15_35_6103.jpg', '/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_29_5813.jpg', '/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_23_5736.jpg', '/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_17_5893.jpg', '/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_11_5945.jpg', '/home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_05_6235.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/15/image_15042025_10_15_35_6103.jpg /home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_29_5813.jpg /home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_23_5736.jpg /home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_17_5893.jpg /home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_11_5945.jpg /home/nano/Desktop/images/15042025/08/00/image_15042025_08_00_05_6235.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349840904","1349840927","1349840909","1349840898","1349840916","1349840885"],"photo_ids_order":["1349840885","1349840898","1349840904","1349840909","1349840916","1349840927"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1270781ce5b37592b36435b669c67bc9.jpg","text":"TemporaryFile(/tmp/multipartBody1710134613734637859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706184430,"filename":"image_15042025_08_00_23_5736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ae49425ae03b8e5000b6553c8c23167.jpg","text":"TemporaryFile(/tmp/multipartBody9089620570131944511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706184430,"filename":"image_15042025_08_00_05_6235.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/95f94df3af3c4824b72f5cd6af688c08.jpg","text":"TemporaryFile(/tmp/multipartBody2437957807376947379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706184430,"filename":"image_15042025_08_00_17_5893.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e50c5d9e8f3cfdbb082c277d9d12ea1d.jpg","text":"TemporaryFile(/tmp/multipartBody4690033920026375687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706184430,"filename":"image_15042025_08_00_29_5813.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d22eff21f4b09f55315b1d40697cd7f1.jpg","text":"TemporaryFile(/tmp/multipartBody242990107327448960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706184430,"filename":"image_15042025_08_00_11_5945.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c18e2c2c9a69e0756208418060d686c3.jpg","text":"TemporaryFile(/tmp/multipartBody7989838568751287833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706184430,"filename":"image_15042025_10_15_35_6103.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349840904","file1":"1349840898","file0":"1349840885","file4":"1349840916","file5":"1349840927","file3":"1349840909"},"map_files_photo_id_array":[{"photo_id":"1349840927","filename":"file5"},{"photo_id":"1349840904","filename":"file2"},{"photo_id":"1349840916","filename":"file4"},{"photo_id":"1349840898","filename":"file1"},{"photo_id":"1349840885","filename":"file0"},{"photo_id":"1349840909","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349840904":["hashtag1","hashtag2"]},{"1349840927":["hashtag1","hashtag2"]},{"1349840909":["hashtag1","hashtag2"]},{"1349840898":["hashtag1","hashtag2"]},{"1349840916":["hashtag1","hashtag2"]},{"1349840885":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349840904, 1349840927, 1349840909, 1349840898, 1349840916, 1349840885)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.497419357299805 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:36:03.117794 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_53_5744.jpg', 2), ('/home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_47_5841.jpg', 2), ('/home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_41_5797.jpg', 2), ('/home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_35_5814.jpg', 2), ('/home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_29_6851.jpg', 2), ('/home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_23_5722.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_53_5744.jpg', '/home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_47_5841.jpg', '/home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_41_5797.jpg', '/home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_35_5814.jpg', '/home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_29_6851.jpg', '/home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_23_5722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_53_5744.jpg /home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_47_5841.jpg /home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_41_5797.jpg /home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_35_5814.jpg /home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_29_6851.jpg /home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_23_5722.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349841059","1349841044","1349841017","1349841022","1349841084","1349841027"],"photo_ids_order":["1349841017","1349841022","1349841027","1349841044","1349841059","1349841084"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f87e18e796e7039179e8f48444b3ce0.jpg","text":"TemporaryFile(/tmp/multipartBody3190533180926341047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706225025,"filename":"image_15042025_07_59_29_6851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7dfbea7d26f8ecf6812f181c8a0eb06d.jpg","text":"TemporaryFile(/tmp/multipartBody620628458771976837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706225025,"filename":"image_15042025_07_59_35_5814.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/534687243e7be3dad2632c17a331f8d3.jpg","text":"TemporaryFile(/tmp/multipartBody6522129475063983362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706225025,"filename":"image_15042025_07_59_53_5744.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b478630cf127eed8837161bf21aa07a3.jpg","text":"TemporaryFile(/tmp/multipartBody1311637626831545688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706225025,"filename":"image_15042025_07_59_47_5841.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a9cc3cb1635040ceffcc5ffaf01afd98.jpg","text":"TemporaryFile(/tmp/multipartBody443367895498063797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706225025,"filename":"image_15042025_07_59_23_5722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11037421bb61cfb9a6742f42962215de.jpg","text":"TemporaryFile(/tmp/multipartBody9160838815828592420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706225025,"filename":"image_15042025_07_59_41_5797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349841027","file1":"1349841022","file0":"1349841017","file4":"1349841059","file5":"1349841084","file3":"1349841044"},"map_files_photo_id_array":[{"photo_id":"1349841084","filename":"file5"},{"photo_id":"1349841027","filename":"file2"},{"photo_id":"1349841059","filename":"file4"},{"photo_id":"1349841022","filename":"file1"},{"photo_id":"1349841017","filename":"file0"},{"photo_id":"1349841044","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349841059":["hashtag1","hashtag2"]},{"1349841044":["hashtag1","hashtag2"]},{"1349841017":["hashtag1","hashtag2"]},{"1349841022":["hashtag1","hashtag2"]},{"1349841084":["hashtag1","hashtag2"]},{"1349841027":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349841059, 1349841044, 1349841017, 1349841022, 1349841084, 1349841027)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.696401834487915 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:36:42.704423 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_17_5792.jpg', 2), ('/home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_11_5708.jpg', 2), ('/home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_05_6654.jpg', 2), ('/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_59_5597.jpg', 2), ('/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_53_6642.jpg', 2), ('/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_46_5631.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_17_5792.jpg', '/home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_11_5708.jpg', '/home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_05_6654.jpg', '/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_59_5597.jpg', '/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_53_6642.jpg', '/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_46_5631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_17_5792.jpg /home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_11_5708.jpg /home/nano/Desktop/images/15042025/07/59/image_15042025_07_59_05_6654.jpg /home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_59_5597.jpg /home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_53_6642.jpg /home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_46_5631.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349841140","1349841134","1349841128","1349841276","1349841162","1349841219"],"photo_ids_order":["1349841128","1349841134","1349841140","1349841162","1349841219","1349841276"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8a5c4f35eaabd7cd9e05a8c9b78cd22.jpg","text":"TemporaryFile(/tmp/multipartBody5453541405799176680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706264455,"filename":"image_15042025_07_59_05_6654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7016908c78e8bac5ff99a6755ec99fe7.jpg","text":"TemporaryFile(/tmp/multipartBody7577054227149865943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706264455,"filename":"image_15042025_07_59_11_5708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da09dd31a55df0bc3d68e8a7539395fc.jpg","text":"TemporaryFile(/tmp/multipartBody2268674775005130933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706264455,"filename":"image_15042025_07_59_17_5792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4efa0633ba54d3341acc4702fb07693.jpg","text":"TemporaryFile(/tmp/multipartBody7190831058479020289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706264455,"filename":"image_15042025_07_58_46_5631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a406c75bbb37ae836139f7584791490.jpg","text":"TemporaryFile(/tmp/multipartBody5327992460313379684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706264455,"filename":"image_15042025_07_58_59_5597.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/915d5da3726010a491271894f7768d71.jpg","text":"TemporaryFile(/tmp/multipartBody5318039399150417354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706264455,"filename":"image_15042025_07_58_53_6642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349841140","file1":"1349841134","file0":"1349841128","file4":"1349841219","file5":"1349841276","file3":"1349841162"},"map_files_photo_id_array":[{"photo_id":"1349841276","filename":"file5"},{"photo_id":"1349841140","filename":"file2"},{"photo_id":"1349841219","filename":"file4"},{"photo_id":"1349841134","filename":"file1"},{"photo_id":"1349841128","filename":"file0"},{"photo_id":"1349841162","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349841140":["hashtag1","hashtag2"]},{"1349841134":["hashtag1","hashtag2"]},{"1349841128":["hashtag1","hashtag2"]},{"1349841276":["hashtag1","hashtag2"]},{"1349841162":["hashtag1","hashtag2"]},{"1349841219":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349841140, 1349841134, 1349841128, 1349841276, 1349841162, 1349841219)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.0118465423584 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:37:21.797861 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_41_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_35_6620.jpg', 2), ('/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_29_5625.jpg', 2), ('/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_23_5644.jpg', 2), ('/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_17_6616.jpg', 2), ('/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_11_5660.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_41_5646.jpg', '/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_35_6620.jpg', '/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_29_5625.jpg', '/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_23_5644.jpg', '/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_17_6616.jpg', '/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_11_5660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_41_5646.jpg /home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_35_6620.jpg /home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_29_5625.jpg /home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_23_5644.jpg /home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_17_6616.jpg /home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_11_5660.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349841431","1349841374","1349841403","1349841456","1349841426","1349841395"],"photo_ids_order":["1349841374","1349841395","1349841403","1349841426","1349841431","1349841456"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ebcf9d679676b30266ccdccc4a84796.jpg","text":"TemporaryFile(/tmp/multipartBody2294310678177742022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706303516,"filename":"image_15042025_07_58_17_6616.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f7a3c97f1039e4487394f6a6345e150.jpg","text":"TemporaryFile(/tmp/multipartBody2412094315158917404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706303516,"filename":"image_15042025_07_58_41_5646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed1d79656b80ac128bf3954f24bad602.jpg","text":"TemporaryFile(/tmp/multipartBody2194836705098870192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706303516,"filename":"image_15042025_07_58_29_5625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b94fea2bdf6f39de46243caabd15437a.jpg","text":"TemporaryFile(/tmp/multipartBody1836282361219499753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706303516,"filename":"image_15042025_07_58_11_5660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09a781f4b441d458d3a7a5875d3ae207.jpg","text":"TemporaryFile(/tmp/multipartBody1985882480597462673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706303516,"filename":"image_15042025_07_58_23_5644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eedb63a8ba359f63f436ee56ea621cf3.jpg","text":"TemporaryFile(/tmp/multipartBody5214523353358095057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706303516,"filename":"image_15042025_07_58_35_6620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349841403","file1":"1349841395","file0":"1349841374","file4":"1349841431","file5":"1349841456","file3":"1349841426"},"map_files_photo_id_array":[{"photo_id":"1349841456","filename":"file5"},{"photo_id":"1349841403","filename":"file2"},{"photo_id":"1349841431","filename":"file4"},{"photo_id":"1349841395","filename":"file1"},{"photo_id":"1349841374","filename":"file0"},{"photo_id":"1349841426","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349841431":["hashtag1","hashtag2"]},{"1349841374":["hashtag1","hashtag2"]},{"1349841403":["hashtag1","hashtag2"]},{"1349841456":["hashtag1","hashtag2"]},{"1349841426":["hashtag1","hashtag2"]},{"1349841395":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349841431, 1349841374, 1349841403, 1349841456, 1349841426, 1349841395)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.55629253387451 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:38:02.554739 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_05_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_59_6645.jpg', 2), ('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_53_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_47_5634.jpg', 2), ('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_41_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_35_5622.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_05_5656.jpg', '/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_59_6645.jpg', '/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_53_5621.jpg', '/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_47_5634.jpg', '/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_41_6634.jpg', '/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_35_5622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_05_5656.jpg /home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_59_6645.jpg /home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_53_5621.jpg /home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_47_5634.jpg /home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_41_6634.jpg /home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_35_5622.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.34979748725891113 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443
\n\n' 400 [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:38:21.930409 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/38/image_15042025_10_38_59_6121.jpg', 2), ('/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_05_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_59_6645.jpg', 2), ('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_53_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_47_5634.jpg', 2), ('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_41_6634.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/38/image_15042025_10_38_59_6121.jpg', '/home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_05_5656.jpg', '/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_59_6645.jpg', '/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_53_5621.jpg', '/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_47_5634.jpg', '/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_41_6634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/38/image_15042025_10_38_59_6121.jpg /home/nano/Desktop/images/15042025/07/58/image_15042025_07_58_05_5656.jpg /home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_59_6645.jpg /home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_53_5621.jpg /home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_47_5634.jpg /home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_41_6634.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349841725","1349841760","1349841736","1349841730","1349841765","1349841720"],"photo_ids_order":["1349841720","1349841725","1349841730","1349841736","1349841760","1349841765"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a2089be659a2b6aa4a76f3aa47933df.jpg","text":"TemporaryFile(/tmp/multipartBody4266877166379408372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706363675,"filename":"image_15042025_07_58_05_5656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4119a6b73b27633bafa013d645353842.jpg","text":"TemporaryFile(/tmp/multipartBody1966465669864641670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706363675,"filename":"image_15042025_07_57_47_5634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e3dad1e9b6264798b3fe291a2dee97df.jpg","text":"TemporaryFile(/tmp/multipartBody821626683825546123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706363675,"filename":"image_15042025_07_57_53_5621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/144434e13a7f6c19711acb31c2be642e.jpg","text":"TemporaryFile(/tmp/multipartBody3850902356194178692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706363675,"filename":"image_15042025_07_57_59_6645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/550e7094380f697132ecd1bf0b522412.jpg","text":"TemporaryFile(/tmp/multipartBody3932236848760451805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706363675,"filename":"image_15042025_07_57_41_6634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7cf860c60f1577f9dcb3bcd70bf80d75.jpg","text":"TemporaryFile(/tmp/multipartBody8816374789041153589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706363675,"filename":"image_15042025_10_38_59_6121.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349841730","file1":"1349841725","file0":"1349841720","file4":"1349841760","file5":"1349841765","file3":"1349841736"},"map_files_photo_id_array":[{"photo_id":"1349841765","filename":"file5"},{"photo_id":"1349841730","filename":"file2"},{"photo_id":"1349841760","filename":"file4"},{"photo_id":"1349841725","filename":"file1"},{"photo_id":"1349841720","filename":"file0"},{"photo_id":"1349841736","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349841725":["hashtag1","hashtag2"]},{"1349841760":["hashtag1","hashtag2"]},{"1349841736":["hashtag1","hashtag2"]},{"1349841730":["hashtag1","hashtag2"]},{"1349841765":["hashtag1","hashtag2"]},{"1349841720":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349841725, 1349841760, 1349841736, 1349841730, 1349841765, 1349841720)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.73870849609375 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:39:02.779050 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_35_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_29_6641.jpg', 2), ('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_23_5624.jpg', 2), ('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_17_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_11_6002.jpg', 2), ('/home/nano/Desktop/images/15042025/07/55/image_15042025_07_55_59_5988.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_35_5622.jpg', '/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_29_6641.jpg', '/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_23_5624.jpg', '/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_17_5652.jpg', '/home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_11_6002.jpg', '/home/nano/Desktop/images/15042025/07/55/image_15042025_07_55_59_5988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_35_5622.jpg /home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_29_6641.jpg /home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_23_5624.jpg /home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_17_5652.jpg /home/nano/Desktop/images/15042025/07/57/image_15042025_07_57_11_6002.jpg /home/nano/Desktop/images/15042025/07/55/image_15042025_07_55_59_5988.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349841818","1349841827","1349841823","1349841811","1349841840","1349841833"],"photo_ids_order":["1349841811","1349841818","1349841823","1349841827","1349841833","1349841840"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7215ca3722e06a8055eaae2510e9fd6d.jpg","text":"TemporaryFile(/tmp/multipartBody1770811631594175527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706404547,"filename":"image_15042025_07_57_29_6641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d448102b1ea1c538faf2c79cd04662ea.jpg","text":"TemporaryFile(/tmp/multipartBody1118638187910885513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706404547,"filename":"image_15042025_07_57_17_5652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/42b92b2dac7dedbfa8584a2a7d92cf11.jpg","text":"TemporaryFile(/tmp/multipartBody7775520011956611852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706404547,"filename":"image_15042025_07_57_23_5624.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee138ec08482d7d9d803050a30cd1cda.jpg","text":"TemporaryFile(/tmp/multipartBody2221717993363929383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706404547,"filename":"image_15042025_07_57_35_5622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1939603d12ca3de1d08fac05cd2ec2e9.jpg","text":"TemporaryFile(/tmp/multipartBody4323785841089033653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706404547,"filename":"image_15042025_07_55_59_5988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e60c4a32336d3e54bbec72636ff42d08.jpg","text":"TemporaryFile(/tmp/multipartBody2969296671956760675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706404547,"filename":"image_15042025_07_57_11_6002.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349841823","file1":"1349841818","file0":"1349841811","file4":"1349841833","file5":"1349841840","file3":"1349841827"},"map_files_photo_id_array":[{"photo_id":"1349841840","filename":"file5"},{"photo_id":"1349841823","filename":"file2"},{"photo_id":"1349841833","filename":"file4"},{"photo_id":"1349841818","filename":"file1"},{"photo_id":"1349841811","filename":"file0"},{"photo_id":"1349841827","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349841818":["hashtag1","hashtag2"]},{"1349841827":["hashtag1","hashtag2"]},{"1349841823":["hashtag1","hashtag2"]},{"1349841811":["hashtag1","hashtag2"]},{"1349841840":["hashtag1","hashtag2"]},{"1349841833":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349841818, 1349841827, 1349841823, 1349841811, 1349841840, 1349841833)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.98265600204468 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:39:42.187418 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/53/image_15042025_07_53_59_5887.jpg', 2), ('/home/nano/Desktop/images/15042025/07/48/image_15042025_07_48_59_5998.jpg', 2), ('/home/nano/Desktop/images/15042025/07/43/image_15042025_07_43_59_5908.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_41_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_35_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_29_5635.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/53/image_15042025_07_53_59_5887.jpg', '/home/nano/Desktop/images/15042025/07/48/image_15042025_07_48_59_5998.jpg', '/home/nano/Desktop/images/15042025/07/43/image_15042025_07_43_59_5908.jpg', '/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_41_5621.jpg', '/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_35_6668.jpg', '/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_29_5635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/53/image_15042025_07_53_59_5887.jpg /home/nano/Desktop/images/15042025/07/48/image_15042025_07_48_59_5998.jpg /home/nano/Desktop/images/15042025/07/43/image_15042025_07_43_59_5908.jpg /home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_41_5621.jpg /home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_35_6668.jpg /home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_29_5635.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349842069","1349841994","1349841985","1349841940","1349841977","1349842037"],"photo_ids_order":["1349841940","1349841977","1349841985","1349841994","1349842037","1349842069"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/05901cab165daf48fe16a8492d05b1bc.jpg","text":"TemporaryFile(/tmp/multipartBody782150248147344055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706443996,"filename":"image_15042025_07_41_29_5635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/45c6f97538b658919212066f7e142c23.jpg","text":"TemporaryFile(/tmp/multipartBody8179531563774976466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706443996,"filename":"image_15042025_07_41_41_5621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21a66f7cc065cd38785ffef3555dddc7.jpg","text":"TemporaryFile(/tmp/multipartBody4805902978630326174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706443996,"filename":"image_15042025_07_43_59_5908.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5a267bf3324547504e07d9e6e5b9e31.jpg","text":"TemporaryFile(/tmp/multipartBody2343214539421511115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706443996,"filename":"image_15042025_07_53_59_5887.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bab0e5c1caebd4a84f9da2aa9ba99ea9.jpg","text":"TemporaryFile(/tmp/multipartBody2955134253158618074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706443996,"filename":"image_15042025_07_48_59_5998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f34f3c38354a2e528a1e4ffbea55b876.jpg","text":"TemporaryFile(/tmp/multipartBody6499914414967974275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706443996,"filename":"image_15042025_07_41_35_6668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349841985","file1":"1349841977","file0":"1349841940","file4":"1349842037","file5":"1349842069","file3":"1349841994"},"map_files_photo_id_array":[{"photo_id":"1349842069","filename":"file5"},{"photo_id":"1349841985","filename":"file2"},{"photo_id":"1349842037","filename":"file4"},{"photo_id":"1349841977","filename":"file1"},{"photo_id":"1349841940","filename":"file0"},{"photo_id":"1349841994","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349842069":["hashtag1","hashtag2"]},{"1349841994":["hashtag1","hashtag2"]},{"1349841985":["hashtag1","hashtag2"]},{"1349841940":["hashtag1","hashtag2"]},{"1349841977":["hashtag1","hashtag2"]},{"1349842037":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349842069, 1349841994, 1349841985, 1349841940, 1349841977, 1349842037)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 34.739309310913086 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:40:22.305755 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_23_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_17_6657.jpg', 2), ('/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_05_5700.jpg', 2), ('/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_59_5625.jpg', 2), ('/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_53_6739.jpg', 2), ('/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_47_5785.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_23_5646.jpg', '/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_17_6657.jpg', '/home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_05_5700.jpg', '/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_59_5625.jpg', '/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_53_6739.jpg', '/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_47_5785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_23_5646.jpg /home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_17_6657.jpg /home/nano/Desktop/images/15042025/07/41/image_15042025_07_41_05_5700.jpg /home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_59_5625.jpg /home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_53_6739.jpg /home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_47_5785.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349842195","1349842156","1349842120","1349842116","1349842187","1349842127"],"photo_ids_order":["1349842116","1349842120","1349842127","1349842156","1349842187","1349842195"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/981d36104b8b1ab38b92a9a8e835304f.jpg","text":"TemporaryFile(/tmp/multipartBody4584502670419209764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706484055,"filename":"image_15042025_07_40_47_5785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8fcdebe7f2fbaae6f34957b021df82c6.jpg","text":"TemporaryFile(/tmp/multipartBody6770249478786118916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706484055,"filename":"image_15042025_07_40_59_5625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae970ac5f366b9606b2cb709866374eb.jpg","text":"TemporaryFile(/tmp/multipartBody5604731112960886030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706484055,"filename":"image_15042025_07_41_17_6657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5398b206c38a45ed8ed502c6a9d3b1cd.jpg","text":"TemporaryFile(/tmp/multipartBody1980961049619103439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706484055,"filename":"image_15042025_07_41_23_5646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/350adfecd3b9d9ca0348ee527532dc1b.jpg","text":"TemporaryFile(/tmp/multipartBody2083345796412840149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706484055,"filename":"image_15042025_07_40_53_6739.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf044b7af4e23c06b3a8d4199eef8679.jpg","text":"TemporaryFile(/tmp/multipartBody8394833423975154849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706484055,"filename":"image_15042025_07_41_05_5700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349842127","file1":"1349842120","file0":"1349842116","file4":"1349842187","file5":"1349842195","file3":"1349842156"},"map_files_photo_id_array":[{"photo_id":"1349842195","filename":"file5"},{"photo_id":"1349842127","filename":"file2"},{"photo_id":"1349842187","filename":"file4"},{"photo_id":"1349842120","filename":"file1"},{"photo_id":"1349842116","filename":"file0"},{"photo_id":"1349842156","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349842195":["hashtag1","hashtag2"]},{"1349842156":["hashtag1","hashtag2"]},{"1349842120":["hashtag1","hashtag2"]},{"1349842116":["hashtag1","hashtag2"]},{"1349842187":["hashtag1","hashtag2"]},{"1349842127":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349842195, 1349842156, 1349842120, 1349842116, 1349842187, 1349842127)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.20847463607788 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:41:03.020131 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_41_5842.jpg', 2), ('/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_35_5867.jpg', 2), ('/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_23_5785.jpg', 2), ('/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_17_6766.jpg', 2), ('/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_11_5906.jpg', 2), ('/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_05_5919.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_41_5842.jpg', '/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_35_5867.jpg', '/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_23_5785.jpg', '/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_17_6766.jpg', '/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_11_5906.jpg', '/home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_05_5919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_41_5842.jpg /home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_35_5867.jpg /home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_23_5785.jpg /home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_17_6766.jpg /home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_11_5906.jpg /home/nano/Desktop/images/15042025/07/40/image_15042025_07_40_05_5919.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349842491","1349842510","1349842332","1349842466","1349842367","1349842277"],"photo_ids_order":["1349842277","1349842332","1349842367","1349842466","1349842491","1349842510"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc5e28e5a1906ce986ef7618b56012da.jpg","text":"TemporaryFile(/tmp/multipartBody6545536675320643348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706524868,"filename":"image_15042025_07_40_11_5906.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/49d14cecf43c8d6eee6d7ba59ac8f1d0.jpg","text":"TemporaryFile(/tmp/multipartBody7014771762195517743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706524868,"filename":"image_15042025_07_40_05_5919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1edc5fe990fd763543a5f7d0462328b.jpg","text":"TemporaryFile(/tmp/multipartBody3932274212164182761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706524868,"filename":"image_15042025_07_40_35_5867.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/77a8a4f095aaf261aeab3c6242eca33a.jpg","text":"TemporaryFile(/tmp/multipartBody1088027064977875847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706524868,"filename":"image_15042025_07_40_17_6766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6a821018fb73f144a50db59b8797942d.jpg","text":"TemporaryFile(/tmp/multipartBody3525607974730956960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706524868,"filename":"image_15042025_07_40_23_5785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8da59787719cf450fee914887e49f0a4.jpg","text":"TemporaryFile(/tmp/multipartBody619651967379395089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706524868,"filename":"image_15042025_07_40_41_5842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349842367","file1":"1349842332","file0":"1349842277","file4":"1349842491","file5":"1349842510","file3":"1349842466"},"map_files_photo_id_array":[{"photo_id":"1349842510","filename":"file5"},{"photo_id":"1349842367","filename":"file2"},{"photo_id":"1349842491","filename":"file4"},{"photo_id":"1349842332","filename":"file1"},{"photo_id":"1349842277","filename":"file0"},{"photo_id":"1349842466","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349842491":["hashtag1","hashtag2"]},{"1349842510":["hashtag1","hashtag2"]},{"1349842332":["hashtag1","hashtag2"]},{"1349842466":["hashtag1","hashtag2"]},{"1349842367":["hashtag1","hashtag2"]},{"1349842277":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349842491, 1349842510, 1349842332, 1349842466, 1349842367, 1349842277)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 38.631173610687256 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:41:42.423248 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_59_6017.jpg', 2), ('/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_47_5760.jpg', 2), ('/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_41_5811.jpg', 2), ('/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_35_5741.jpg', 2), ('/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_29_6839.jpg', 2), ('/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_17_5750.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_59_6017.jpg', '/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_47_5760.jpg', '/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_41_5811.jpg', '/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_35_5741.jpg', '/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_29_6839.jpg', '/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_17_5750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_59_6017.jpg /home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_47_5760.jpg /home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_41_5811.jpg /home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_35_5741.jpg /home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_29_6839.jpg /home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_17_5750.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349842768","1349842609","1349842776","1349842764","1349842647","1349842701"],"photo_ids_order":["1349842609","1349842647","1349842701","1349842764","1349842768","1349842776"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c0749ac0134e1a0a23ba3eaca271c34d.jpg","text":"TemporaryFile(/tmp/multipartBody3434388534262539863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706564272,"filename":"image_15042025_07_39_29_6839.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4e13c376e81ae8de6226d355ae5129c7.jpg","text":"TemporaryFile(/tmp/multipartBody2319784037254329323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706564272,"filename":"image_15042025_07_39_59_6017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd052e0756263f41f5779ca9899a8624.jpg","text":"TemporaryFile(/tmp/multipartBody84704186580733945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706564272,"filename":"image_15042025_07_39_17_5750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/baf71f76d7a6b576688bb2622eec0979.jpg","text":"TemporaryFile(/tmp/multipartBody7779805805913206484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706564272,"filename":"image_15042025_07_39_35_5741.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9b4234ae1df04bb7095f5a0ccb89be3.jpg","text":"TemporaryFile(/tmp/multipartBody6110916048508251329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706564272,"filename":"image_15042025_07_39_47_5760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3bf3769d24784e51d44377ca5a81ce33.jpg","text":"TemporaryFile(/tmp/multipartBody1168205560502337138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706564272,"filename":"image_15042025_07_39_41_5811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349842701","file1":"1349842647","file0":"1349842609","file4":"1349842768","file5":"1349842776","file3":"1349842764"},"map_files_photo_id_array":[{"photo_id":"1349842776","filename":"file5"},{"photo_id":"1349842701","filename":"file2"},{"photo_id":"1349842768","filename":"file4"},{"photo_id":"1349842647","filename":"file1"},{"photo_id":"1349842609","filename":"file0"},{"photo_id":"1349842764","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349842768":["hashtag1","hashtag2"]},{"1349842609":["hashtag1","hashtag2"]},{"1349842776":["hashtag1","hashtag2"]},{"1349842764":["hashtag1","hashtag2"]},{"1349842647":["hashtag1","hashtag2"]},{"1349842701":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349842768, 1349842609, 1349842776, 1349842764, 1349842647, 1349842701)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.834085702896118 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:42:22.529194 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/35/image_15042025_10_35_47_6118.jpg', 2), ('/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_11_5824.jpg', 2), ('/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_05_5761.jpg', 2), ('/home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_59_5781.jpg', 2), ('/home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_53_6824.jpg', 2), ('/home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_47_5831.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/35/image_15042025_10_35_47_6118.jpg', '/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_11_5824.jpg', '/home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_05_5761.jpg', '/home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_59_5781.jpg', '/home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_53_6824.jpg', '/home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_47_5831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/35/image_15042025_10_35_47_6118.jpg /home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_11_5824.jpg /home/nano/Desktop/images/15042025/07/39/image_15042025_07_39_05_5761.jpg /home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_59_5781.jpg /home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_53_6824.jpg /home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_47_5831.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349842879","1349843043","1349843001","1349842848","1349842905","1349842940"],"photo_ids_order":["1349842848","1349842879","1349842905","1349842940","1349843001","1349843043"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94fb77d436e938d84c99a32d2ce1a3e4.jpg","text":"TemporaryFile(/tmp/multipartBody5468060629991823191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706604355,"filename":"image_15042025_07_39_11_5824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c5d927599560f4ed22a15de625a89b2b.jpg","text":"TemporaryFile(/tmp/multipartBody5443894924433732829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706604355,"filename":"image_15042025_07_38_47_5831.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/56d25699f8e2034a5a9dc9c5049a830f.jpg","text":"TemporaryFile(/tmp/multipartBody2612915369572071769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706604355,"filename":"image_15042025_07_38_53_6824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f96a7351f7f2c5d789a8bc9aad385a29.jpg","text":"TemporaryFile(/tmp/multipartBody5661586572229646803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706604355,"filename":"image_15042025_10_35_47_6118.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/898bc217dc53449b122abc185f5e4159.jpg","text":"TemporaryFile(/tmp/multipartBody4390026751524596372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706604355,"filename":"image_15042025_07_39_05_5761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cad34f9032ad6a66a365c5840b9ed646.jpg","text":"TemporaryFile(/tmp/multipartBody5699892713900602387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706604355,"filename":"image_15042025_07_38_59_5781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349842905","file1":"1349842879","file0":"1349842848","file4":"1349843001","file5":"1349843043","file3":"1349842940"},"map_files_photo_id_array":[{"photo_id":"1349843043","filename":"file5"},{"photo_id":"1349842905","filename":"file2"},{"photo_id":"1349843001","filename":"file4"},{"photo_id":"1349842879","filename":"file1"},{"photo_id":"1349842848","filename":"file0"},{"photo_id":"1349842940","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349842879":["hashtag1","hashtag2"]},{"1349843043":["hashtag1","hashtag2"]},{"1349843001":["hashtag1","hashtag2"]},{"1349842848":["hashtag1","hashtag2"]},{"1349842905":["hashtag1","hashtag2"]},{"1349842940":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349842879, 1349843043, 1349843001, 1349842848, 1349842905, 1349842940)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.99486041069031 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:43:03.232720 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_35_5841.jpg', 2), ('/home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_29_5811.jpg', 2), ('/home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_23_5822.jpg', 2), ('/home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_17_6784.jpg', 2), ('/home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_11_5892.jpg', 2), ('/home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_05_5878.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_35_5841.jpg', '/home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_29_5811.jpg', '/home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_23_5822.jpg', '/home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_17_6784.jpg', '/home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_11_5892.jpg', '/home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_05_5878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_35_5841.jpg /home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_29_5811.jpg /home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_23_5822.jpg /home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_17_6784.jpg /home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_11_5892.jpg /home/nano/Desktop/images/15042025/07/38/image_15042025_07_38_05_5878.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349843116","1349843166","1349843130","1349843103","1349843156","1349843191"],"photo_ids_order":["1349843103","1349843116","1349843130","1349843156","1349843166","1349843191"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a22128084796c6f7e18b6b6b6723cb39.jpg","text":"TemporaryFile(/tmp/multipartBody4485458028032480531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706645088,"filename":"image_15042025_07_38_29_5811.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc224fab61af39d8ec72d1e3c80146d9.jpg","text":"TemporaryFile(/tmp/multipartBody721700493441825718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706645088,"filename":"image_15042025_07_38_11_5892.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ac9fa59a4f7251b63a13aad5148ce34.jpg","text":"TemporaryFile(/tmp/multipartBody4108958387949156332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706645088,"filename":"image_15042025_07_38_23_5822.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc19a438c3bbe55916b5bc9e9d099912.jpg","text":"TemporaryFile(/tmp/multipartBody873059877254161731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706645088,"filename":"image_15042025_07_38_35_5841.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5223ef26b4aac6faacd641a0cec2bf85.jpg","text":"TemporaryFile(/tmp/multipartBody58431743991969857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706645088,"filename":"image_15042025_07_38_17_6784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd6ef43456bbba789f4044abe0f6f0e8.jpg","text":"TemporaryFile(/tmp/multipartBody4893600671409949276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706645088,"filename":"image_15042025_07_38_05_5878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349843130","file1":"1349843116","file0":"1349843103","file4":"1349843166","file5":"1349843191","file3":"1349843156"},"map_files_photo_id_array":[{"photo_id":"1349843191","filename":"file5"},{"photo_id":"1349843130","filename":"file2"},{"photo_id":"1349843166","filename":"file4"},{"photo_id":"1349843116","filename":"file1"},{"photo_id":"1349843103","filename":"file0"},{"photo_id":"1349843156","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349843116":["hashtag1","hashtag2"]},{"1349843166":["hashtag1","hashtag2"]},{"1349843130":["hashtag1","hashtag2"]},{"1349843103":["hashtag1","hashtag2"]},{"1349843156":["hashtag1","hashtag2"]},{"1349843191":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349843116, 1349843166, 1349843130, 1349843103, 1349843156, 1349843191)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.26622128486633 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:43:42.652211 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/43/image_15042025_10_43_59_6066.jpg', 2), ('/home/nano/Desktop/images/15042025/10/42/image_15042025_10_42_59_6134.jpg', 2), ('/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_59_5738.jpg', 2), ('/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_53_5634.jpg', 2), ('/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_47_6638.jpg', 2), ('/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_41_5637.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/43/image_15042025_10_43_59_6066.jpg', '/home/nano/Desktop/images/15042025/10/42/image_15042025_10_42_59_6134.jpg', '/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_59_5738.jpg', '/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_53_5634.jpg', '/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_47_6638.jpg', '/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_41_5637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/43/image_15042025_10_43_59_6066.jpg /home/nano/Desktop/images/15042025/10/42/image_15042025_10_42_59_6134.jpg /home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_59_5738.jpg /home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_53_5634.jpg /home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_47_6638.jpg /home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_41_5637.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349843269","1349843274","1349843298","1349843262","1349843333","1349843257"],"photo_ids_order":["1349843257","1349843262","1349843269","1349843274","1349843298","1349843333"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/721c6d21e2f96936c41b822f78bf5103.jpg","text":"TemporaryFile(/tmp/multipartBody6886561685406359072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706684447,"filename":"image_15042025_07_37_59_5738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/85af03aeff69f88ca9e3e94f0d1e59aa.jpg","text":"TemporaryFile(/tmp/multipartBody8246823970227612534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706684447,"filename":"image_15042025_07_37_53_5634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/adcaca1a8b9168e5a26730eac416ae38.jpg","text":"TemporaryFile(/tmp/multipartBody4113569336832055534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706684447,"filename":"image_15042025_07_37_47_6638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4da68325f9bd69de6fbe5c90364d17de.jpg","text":"TemporaryFile(/tmp/multipartBody8798718345320497395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706684447,"filename":"image_15042025_10_42_59_6134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b24174e7566c085f74e66e5a359e20c.jpg","text":"TemporaryFile(/tmp/multipartBody8730066604411596136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706684447,"filename":"image_15042025_07_37_41_5637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/621398b7acba23b54e57a68136a29f14.jpg","text":"TemporaryFile(/tmp/multipartBody2697805481167655766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706684447,"filename":"image_15042025_10_43_59_6066.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349843269","file1":"1349843262","file0":"1349843257","file4":"1349843298","file5":"1349843333","file3":"1349843274"},"map_files_photo_id_array":[{"photo_id":"1349843333","filename":"file5"},{"photo_id":"1349843269","filename":"file2"},{"photo_id":"1349843298","filename":"file4"},{"photo_id":"1349843262","filename":"file1"},{"photo_id":"1349843257","filename":"file0"},{"photo_id":"1349843274","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349843269":["hashtag1","hashtag2"]},{"1349843274":["hashtag1","hashtag2"]},{"1349843298":["hashtag1","hashtag2"]},{"1349843262":["hashtag1","hashtag2"]},{"1349843333":["hashtag1","hashtag2"]},{"1349843257":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349843269, 1349843274, 1349843298, 1349843262, 1349843333, 1349843257)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.342941522598267 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:44:21.814243 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_35_6674.jpg', 2), ('/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_28_5648.jpg', 2), ('/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_23_5678.jpg', 2), ('/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_11_5615.jpg', 2), ('/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_05_5681.jpg', 2), ('/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_59_6637.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_35_6674.jpg', '/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_28_5648.jpg', '/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_23_5678.jpg', '/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_11_5615.jpg', '/home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_05_5681.jpg', '/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_59_6637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_35_6674.jpg /home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_28_5648.jpg /home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_23_5678.jpg /home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_11_5615.jpg /home/nano/Desktop/images/15042025/07/37/image_15042025_07_37_05_5681.jpg /home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_59_6637.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349843449","1349843463","1349843457","1349843442","1349843453","1349843437"],"photo_ids_order":["1349843437","1349843442","1349843449","1349843453","1349843457","1349843463"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/531cdfd19957bd0d09d04d6e27526d05.jpg","text":"TemporaryFile(/tmp/multipartBody6673685193485743942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706723539,"filename":"image_15042025_07_37_23_5678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bb2abc21ac82eddcdff4dab47519bfee.jpg","text":"TemporaryFile(/tmp/multipartBody52180599198770711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706723539,"filename":"image_15042025_07_36_59_6637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f641f1e1dcadc971ff779436817faa57.jpg","text":"TemporaryFile(/tmp/multipartBody6616072650718741725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706723539,"filename":"image_15042025_07_37_05_5681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/92a6a55d8bc48265a190e53cf529ac88.jpg","text":"TemporaryFile(/tmp/multipartBody6027600364119345907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706723539,"filename":"image_15042025_07_37_28_5648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8796d01338598311d154b911749e6607.jpg","text":"TemporaryFile(/tmp/multipartBody4772073231726118035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706723539,"filename":"image_15042025_07_37_11_5615.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/def1b132ebcf39506db42bd70e682083.jpg","text":"TemporaryFile(/tmp/multipartBody1586526170458929044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706723539,"filename":"image_15042025_07_37_35_6674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349843449","file1":"1349843442","file0":"1349843437","file4":"1349843457","file5":"1349843463","file3":"1349843453"},"map_files_photo_id_array":[{"photo_id":"1349843463","filename":"file5"},{"photo_id":"1349843449","filename":"file2"},{"photo_id":"1349843457","filename":"file4"},{"photo_id":"1349843442","filename":"file1"},{"photo_id":"1349843437","filename":"file0"},{"photo_id":"1349843453","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349843449":["hashtag1","hashtag2"]},{"1349843463":["hashtag1","hashtag2"]},{"1349843457":["hashtag1","hashtag2"]},{"1349843442":["hashtag1","hashtag2"]},{"1349843453":["hashtag1","hashtag2"]},{"1349843437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349843449, 1349843463, 1349843457, 1349843442, 1349843453, 1349843437)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.486724138259888 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:45:02.575700 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_47_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_41_6661.jpg', 2), ('/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_35_5625.jpg', 2), ('/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_29_5644.jpg', 2), ('/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_23_6631.jpg', 2), ('/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_17_5641.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_47_5635.jpg', '/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_41_6661.jpg', '/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_35_5625.jpg', '/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_29_5644.jpg', '/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_23_6631.jpg', '/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_17_5641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_47_5635.jpg /home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_41_6661.jpg /home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_35_5625.jpg /home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_29_5644.jpg /home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_23_6631.jpg /home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_17_5641.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349843623","1349843496","1349843691","1349843487","1349843681","1349843708"],"photo_ids_order":["1349843487","1349843496","1349843623","1349843681","1349843691","1349843708"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8241657c1794e1c892c049cd67bd81b.jpg","text":"TemporaryFile(/tmp/multipartBody5902481199990834008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706764325,"filename":"image_15042025_07_36_35_5625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75f0f43ce7ecd1088904a401dbdec0af.jpg","text":"TemporaryFile(/tmp/multipartBody3896785507179924598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706764325,"filename":"image_15042025_07_36_41_6661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a87ced5f52172da5141e27d97165bf40.jpg","text":"TemporaryFile(/tmp/multipartBody3160074396533298123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706764325,"filename":"image_15042025_07_36_23_6631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d28226beb8d670b9b41610ce2cd4aba1.jpg","text":"TemporaryFile(/tmp/multipartBody5917137363096254439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706764325,"filename":"image_15042025_07_36_47_5635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70600fd3b4bd731dd3472ddc6bc9240e.jpg","text":"TemporaryFile(/tmp/multipartBody9215945359673370350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706764325,"filename":"image_15042025_07_36_29_5644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/efa6a5bde0fddfdc21bdbdbede4f0c3c.jpg","text":"TemporaryFile(/tmp/multipartBody8168560119041751270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706764325,"filename":"image_15042025_07_36_17_5641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349843623","file1":"1349843496","file0":"1349843487","file4":"1349843691","file5":"1349843708","file3":"1349843681"},"map_files_photo_id_array":[{"photo_id":"1349843708","filename":"file5"},{"photo_id":"1349843623","filename":"file2"},{"photo_id":"1349843691","filename":"file4"},{"photo_id":"1349843496","filename":"file1"},{"photo_id":"1349843487","filename":"file0"},{"photo_id":"1349843681","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349843623":["hashtag1","hashtag2"]},{"1349843496":["hashtag1","hashtag2"]},{"1349843691":["hashtag1","hashtag2"]},{"1349843487":["hashtag1","hashtag2"]},{"1349843681":["hashtag1","hashtag2"]},{"1349843708":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349843623, 1349843496, 1349843691, 1349843487, 1349843681, 1349843708)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.19461464881897 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:45:41.958418 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_11_6652.jpg', 2), ('/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_04_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_59_5630.jpg', 2), ('/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_53_6614.jpg', 2), ('/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_47_5645.jpg', 2), ('/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_41_5617.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_11_6652.jpg', '/home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_04_5637.jpg', '/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_59_5630.jpg', '/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_53_6614.jpg', '/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_47_5645.jpg', '/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_41_5617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_11_6652.jpg /home/nano/Desktop/images/15042025/07/36/image_15042025_07_36_04_5637.jpg /home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_59_5630.jpg /home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_53_6614.jpg /home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_47_5645.jpg /home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_41_5617.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349843938","1349843961","1349843910","1349843808","1349843930","1349843866"],"photo_ids_order":["1349843808","1349843866","1349843910","1349843930","1349843938","1349843961"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ea61a46e1ea920064214d27d6036718.jpg","text":"TemporaryFile(/tmp/multipartBody136895328357023370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706803693,"filename":"image_15042025_07_35_47_5645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cda9db6d2696c72677e99f2ea3493328.jpg","text":"TemporaryFile(/tmp/multipartBody8240832145455201640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706803693,"filename":"image_15042025_07_35_41_5617.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c9872b9e30a47c26c6b5d173500d510.jpg","text":"TemporaryFile(/tmp/multipartBody3040336678318862876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706803693,"filename":"image_15042025_07_35_59_5630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/21a894203a37cdd304973506c1952456.jpg","text":"TemporaryFile(/tmp/multipartBody7945598333774370407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706803693,"filename":"image_15042025_07_36_11_6652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dbdb2290880573e741cf9b4235c41fe7.jpg","text":"TemporaryFile(/tmp/multipartBody3848730632273737303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706803693,"filename":"image_15042025_07_35_53_6614.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1bb400c5b3b37d87dab3397a84e585df.jpg","text":"TemporaryFile(/tmp/multipartBody5609909082051344029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706803693,"filename":"image_15042025_07_36_04_5637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349843910","file1":"1349843866","file0":"1349843808","file4":"1349843938","file5":"1349843961","file3":"1349843930"},"map_files_photo_id_array":[{"photo_id":"1349843961","filename":"file5"},{"photo_id":"1349843910","filename":"file2"},{"photo_id":"1349843938","filename":"file4"},{"photo_id":"1349843866","filename":"file1"},{"photo_id":"1349843808","filename":"file0"},{"photo_id":"1349843930","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349843938":["hashtag1","hashtag2"]},{"1349843961":["hashtag1","hashtag2"]},{"1349843910":["hashtag1","hashtag2"]},{"1349843808":["hashtag1","hashtag2"]},{"1349843930":["hashtag1","hashtag2"]},{"1349843866":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349843938, 1349843961, 1349843910, 1349843808, 1349843930, 1349843866)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.442121982574463 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:46:22.061992 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_35_6636.jpg', 2), ('/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_29_5607.jpg', 2), ('/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_23_6639.jpg', 2), ('/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_11_5684.jpg', 2), ('/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_05_5863.jpg', 2), ('/home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_59_5871.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_35_6636.jpg', '/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_29_5607.jpg', '/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_23_6639.jpg', '/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_11_5684.jpg', '/home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_05_5863.jpg', '/home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_59_5871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_35_6636.jpg /home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_29_5607.jpg /home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_23_6639.jpg /home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_11_5684.jpg /home/nano/Desktop/images/15042025/07/35/image_15042025_07_35_05_5863.jpg /home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_59_5871.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349844035","1349844029","1349844020","1349844026","1349844046","1349844022"],"photo_ids_order":["1349844020","1349844022","1349844026","1349844029","1349844035","1349844046"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32b13b44b6f45f3f8c4b7f248525be2d.jpg","text":"TemporaryFile(/tmp/multipartBody7079885960407562136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706843825,"filename":"image_15042025_07_35_05_5863.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/27ee599b02774b22388949e04fb598f4.jpg","text":"TemporaryFile(/tmp/multipartBody127319455272644216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706843825,"filename":"image_15042025_07_35_11_5684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/751c301d9180ea6038a88e34f26aa267.jpg","text":"TemporaryFile(/tmp/multipartBody6562709058249389518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706843825,"filename":"image_15042025_07_35_35_6636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1beb3efb8e59efb7b1766ae032a02a5.jpg","text":"TemporaryFile(/tmp/multipartBody3449224744557775507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706843825,"filename":"image_15042025_07_35_23_6639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/154cec7ad48045c364cf732931d5853c.jpg","text":"TemporaryFile(/tmp/multipartBody5547358489629028220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706843825,"filename":"image_15042025_07_34_59_5871.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0115eb4e6300c1f8382774a9c8f08dea.jpg","text":"TemporaryFile(/tmp/multipartBody5601084114133140855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706843825,"filename":"image_15042025_07_35_29_5607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349844026","file1":"1349844022","file0":"1349844020","file4":"1349844035","file5":"1349844046","file3":"1349844029"},"map_files_photo_id_array":[{"photo_id":"1349844046","filename":"file5"},{"photo_id":"1349844026","filename":"file2"},{"photo_id":"1349844035","filename":"file4"},{"photo_id":"1349844022","filename":"file1"},{"photo_id":"1349844020","filename":"file0"},{"photo_id":"1349844029","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349844035":["hashtag1","hashtag2"]},{"1349844029":["hashtag1","hashtag2"]},{"1349844020":["hashtag1","hashtag2"]},{"1349844026":["hashtag1","hashtag2"]},{"1349844046":["hashtag1","hashtag2"]},{"1349844022":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349844035, 1349844029, 1349844020, 1349844026, 1349844046, 1349844022)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.168792963027954 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:47:02.744102 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_53_6802.jpg', 2), ('/home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_47_5845.jpg', 2), ('/home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_41_6140.jpg', 2), ('/home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_29_6709.jpg', 2), ('/home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_23_5759.jpg', 2), ('/home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_17_5839.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_53_6802.jpg', '/home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_47_5845.jpg', '/home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_41_6140.jpg', '/home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_29_6709.jpg', '/home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_23_5759.jpg', '/home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_17_5839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_53_6802.jpg /home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_47_5845.jpg /home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_41_6140.jpg /home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_29_6709.jpg /home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_23_5759.jpg /home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_17_5839.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349844171","1349844165","1349844144","1349844138","1349844190","1349844127"],"photo_ids_order":["1349844127","1349844138","1349844144","1349844165","1349844171","1349844190"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/07cfc7f0c15f55dfed32102c65ea2fa4.jpg","text":"TemporaryFile(/tmp/multipartBody2780654191721313313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706884602,"filename":"image_15042025_07_34_23_5759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8be8bc37e8d4208129a96afc88aebddb.jpg","text":"TemporaryFile(/tmp/multipartBody5528619651723736623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706884602,"filename":"image_15042025_07_34_29_6709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e5cf548895b77235e26a6e877a72288c.jpg","text":"TemporaryFile(/tmp/multipartBody7851339487867365196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706884602,"filename":"image_15042025_07_34_41_6140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bcf3bac364fa2b22e6204060a85f5133.jpg","text":"TemporaryFile(/tmp/multipartBody4731376084390286056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706884602,"filename":"image_15042025_07_34_47_5845.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e2637838d425e91a3feae0f58212e005.jpg","text":"TemporaryFile(/tmp/multipartBody3669675827011955158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706884602,"filename":"image_15042025_07_34_17_5839.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d580c721de46e66e006a6f81016e8a48.jpg","text":"TemporaryFile(/tmp/multipartBody972616521471191544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706884602,"filename":"image_15042025_07_34_53_6802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349844144","file1":"1349844138","file0":"1349844127","file4":"1349844171","file5":"1349844190","file3":"1349844165"},"map_files_photo_id_array":[{"photo_id":"1349844190","filename":"file5"},{"photo_id":"1349844144","filename":"file2"},{"photo_id":"1349844171","filename":"file4"},{"photo_id":"1349844138","filename":"file1"},{"photo_id":"1349844127","filename":"file0"},{"photo_id":"1349844165","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349844171":["hashtag1","hashtag2"]},{"1349844165":["hashtag1","hashtag2"]},{"1349844144":["hashtag1","hashtag2"]},{"1349844138":["hashtag1","hashtag2"]},{"1349844190":["hashtag1","hashtag2"]},{"1349844127":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349844171, 1349844165, 1349844144, 1349844138, 1349844190, 1349844127)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.048466205596924 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:47:42.280747 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_11_5862.jpg', 2), ('/home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_05_6021.jpg', 2), ('/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_59_6156.jpg', 2), ('/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_53_5894.jpg', 2), ('/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_47_5780.jpg', 2), ('/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_41_6846.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_11_5862.jpg', '/home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_05_6021.jpg', '/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_59_6156.jpg', '/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_53_5894.jpg', '/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_47_5780.jpg', '/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_41_6846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_11_5862.jpg /home/nano/Desktop/images/15042025/07/34/image_15042025_07_34_05_6021.jpg /home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_59_6156.jpg /home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_53_5894.jpg /home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_47_5780.jpg /home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_41_6846.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349844483","1349844510","1349844533","1349844499","1349844535","1349844430"],"photo_ids_order":["1349844430","1349844483","1349844499","1349844510","1349844533","1349844535"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2465d4efaeb297e734dd1ba629fbe34b.jpg","text":"TemporaryFile(/tmp/multipartBody3988280006029868536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706924156,"filename":"image_15042025_07_34_05_6021.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b04870c031c76b128cf417c468fb37b6.jpg","text":"TemporaryFile(/tmp/multipartBody6467076256179709083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706924156,"filename":"image_15042025_07_33_53_5894.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/182d27d20df0b2bc70f3793c73d06f76.jpg","text":"TemporaryFile(/tmp/multipartBody6926301331018574970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706924156,"filename":"image_15042025_07_33_47_5780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c7f39f64c2d2b3d997b28e40336386a.jpg","text":"TemporaryFile(/tmp/multipartBody6421485423206363876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706924156,"filename":"image_15042025_07_33_59_6156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d4e4f46b74f454ccd536761bcccc975b.jpg","text":"TemporaryFile(/tmp/multipartBody250682845775874571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706924156,"filename":"image_15042025_07_33_41_6846.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/95b60f0f78bb91cdce9213bef1ef2cc8.jpg","text":"TemporaryFile(/tmp/multipartBody631543772679911060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706924156,"filename":"image_15042025_07_34_11_5862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349844499","file1":"1349844483","file0":"1349844430","file4":"1349844533","file5":"1349844535","file3":"1349844510"},"map_files_photo_id_array":[{"photo_id":"1349844535","filename":"file5"},{"photo_id":"1349844499","filename":"file2"},{"photo_id":"1349844533","filename":"file4"},{"photo_id":"1349844483","filename":"file1"},{"photo_id":"1349844430","filename":"file0"},{"photo_id":"1349844510","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349844483":["hashtag1","hashtag2"]},{"1349844510":["hashtag1","hashtag2"]},{"1349844533":["hashtag1","hashtag2"]},{"1349844499":["hashtag1","hashtag2"]},{"1349844535":["hashtag1","hashtag2"]},{"1349844430":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349844483, 1349844510, 1349844533, 1349844499, 1349844535, 1349844430)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.932181358337402 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:48:22.414615 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/48/image_15042025_10_48_59_6089.jpg', 2), ('/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_34_5883.jpg', 2), ('/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_29_5840.jpg', 2), ('/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_23_5944.jpg', 2), ('/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_11_5849.jpg', 2), ('/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_05_5898.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/48/image_15042025_10_48_59_6089.jpg', '/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_34_5883.jpg', '/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_29_5840.jpg', '/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_23_5944.jpg', '/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_11_5849.jpg', '/home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_05_5898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/48/image_15042025_10_48_59_6089.jpg /home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_34_5883.jpg /home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_29_5840.jpg /home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_23_5944.jpg /home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_11_5849.jpg /home/nano/Desktop/images/15042025/07/33/image_15042025_07_33_05_5898.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349844607","1349844624","1349844682","1349844614","1349844649","1349844619"],"photo_ids_order":["1349844607","1349844614","1349844619","1349844624","1349844649","1349844682"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b9be3df13f1ab69d6070407153a06c08.jpg","text":"TemporaryFile(/tmp/multipartBody3940158292291707690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706964272,"filename":"image_15042025_10_48_59_6089.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ecd8d70af504c9953964a51ddc257c4.jpg","text":"TemporaryFile(/tmp/multipartBody873661557211113247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706964272,"filename":"image_15042025_07_33_23_5944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04b76d09a1f909422fd4240467932035.jpg","text":"TemporaryFile(/tmp/multipartBody5399301894866940086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706964272,"filename":"image_15042025_07_33_05_5898.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3549644a1cef895b67f5ec27384733d6.jpg","text":"TemporaryFile(/tmp/multipartBody7352855311155020690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706964272,"filename":"image_15042025_07_33_34_5883.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f73ad10cdf2a270f71d17c751b8cf69e.jpg","text":"TemporaryFile(/tmp/multipartBody8860674223696217812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706964272,"filename":"image_15042025_07_33_11_5849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58a9ed1473830edfb4e655cf4f01f494.jpg","text":"TemporaryFile(/tmp/multipartBody4886470061164738068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744706964272,"filename":"image_15042025_07_33_29_5840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349844619","file1":"1349844614","file0":"1349844607","file4":"1349844649","file5":"1349844682","file3":"1349844624"},"map_files_photo_id_array":[{"photo_id":"1349844682","filename":"file5"},{"photo_id":"1349844619","filename":"file2"},{"photo_id":"1349844649","filename":"file4"},{"photo_id":"1349844614","filename":"file1"},{"photo_id":"1349844607","filename":"file0"},{"photo_id":"1349844624","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349844607":["hashtag1","hashtag2"]},{"1349844624":["hashtag1","hashtag2"]},{"1349844682":["hashtag1","hashtag2"]},{"1349844614":["hashtag1","hashtag2"]},{"1349844649":["hashtag1","hashtag2"]},{"1349844619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349844607, 1349844624, 1349844682, 1349844614, 1349844649, 1349844619)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.84824013710022 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:49:03.237720 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_59_5858.jpg', 2), ('/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_53_5800.jpg', 2), ('/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_47_5878.jpg', 2), ('/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_41_5955.jpg', 2), ('/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_35_6080.jpg', 2), ('/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_23_5839.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_59_5858.jpg', '/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_53_5800.jpg', '/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_47_5878.jpg', '/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_41_5955.jpg', '/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_35_6080.jpg', '/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_23_5839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_59_5858.jpg /home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_53_5800.jpg /home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_47_5878.jpg /home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_41_5955.jpg /home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_35_6080.jpg /home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_23_5839.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349844749","1349844800","1349844781","1349844763","1349844760","1349844736"],"photo_ids_order":["1349844736","1349844749","1349844760","1349844763","1349844781","1349844800"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c8b693f7128cb2e7baf831dc95399877.jpg","text":"TemporaryFile(/tmp/multipartBody6794134364309290468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707005166,"filename":"image_15042025_07_32_53_5800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b3a038ce3f15a22d137eded7803364c5.jpg","text":"TemporaryFile(/tmp/multipartBody4630986543294084583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707005166,"filename":"image_15042025_07_32_23_5839.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d228726022751877a5fb21092497fc3.jpg","text":"TemporaryFile(/tmp/multipartBody576619836733014361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707005166,"filename":"image_15042025_07_32_35_6080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c4b430a40f61ee8babfe77c8cc9d13d.jpg","text":"TemporaryFile(/tmp/multipartBody7990287433993733826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707005166,"filename":"image_15042025_07_32_41_5955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/546d4df6502996d6bf2d6aa1b058478b.jpg","text":"TemporaryFile(/tmp/multipartBody2293645028164877683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707005166,"filename":"image_15042025_07_32_47_5878.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bcf081b875e2977b898eeea5a5f18b02.jpg","text":"TemporaryFile(/tmp/multipartBody7116088949700158143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707005166,"filename":"image_15042025_07_32_59_5858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349844760","file1":"1349844749","file0":"1349844736","file4":"1349844781","file5":"1349844800","file3":"1349844763"},"map_files_photo_id_array":[{"photo_id":"1349844800","filename":"file5"},{"photo_id":"1349844760","filename":"file2"},{"photo_id":"1349844781","filename":"file4"},{"photo_id":"1349844749","filename":"file1"},{"photo_id":"1349844736","filename":"file0"},{"photo_id":"1349844763","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349844749":["hashtag1","hashtag2"]},{"1349844800":["hashtag1","hashtag2"]},{"1349844781":["hashtag1","hashtag2"]},{"1349844763":["hashtag1","hashtag2"]},{"1349844760":["hashtag1","hashtag2"]},{"1349844736":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349844749, 1349844800, 1349844781, 1349844763, 1349844760, 1349844736)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.61783504486084 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:49:42.510328 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/43/image_15042025_10_43_41_6109.jpg', 2), ('/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_17_6905.jpg', 2), ('/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_10_5909.jpg', 2), ('/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_05_5814.jpg', 2), ('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_59_5819.jpg', 2), ('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_53_5852.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/43/image_15042025_10_43_41_6109.jpg', '/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_17_6905.jpg', '/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_10_5909.jpg', '/home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_05_5814.jpg', '/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_59_5819.jpg', '/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_53_5852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/43/image_15042025_10_43_41_6109.jpg /home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_17_6905.jpg /home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_10_5909.jpg /home/nano/Desktop/images/15042025/07/32/image_15042025_07_32_05_5814.jpg /home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_59_5819.jpg /home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_53_5852.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349845002","1349845007","1349844950","1349844985","1349844931","1349844996"],"photo_ids_order":["1349844931","1349844950","1349844985","1349844996","1349845002","1349845007"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74fbe148c38c46c69511fc38781b47ba.jpg","text":"TemporaryFile(/tmp/multipartBody3439175415422400143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707044354,"filename":"image_15042025_07_31_59_5819.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/574e2aeff31cd212e5e3e0b25da93599.jpg","text":"TemporaryFile(/tmp/multipartBody7821642278108261656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707044354,"filename":"image_15042025_07_31_53_5852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c383fb16d7e35da5009f9da3aa0b1d3f.jpg","text":"TemporaryFile(/tmp/multipartBody3492975195597863553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707044354,"filename":"image_15042025_07_32_17_6905.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a1a38b7cd29c7f7c63260104ac86f37.jpg","text":"TemporaryFile(/tmp/multipartBody7697900322451497283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707044354,"filename":"image_15042025_07_32_10_5909.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/266492b12ef794ec74b80cdc386505a4.jpg","text":"TemporaryFile(/tmp/multipartBody957006083280376415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707044354,"filename":"image_15042025_10_43_41_6109.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c7660964d9b629d07bebef5856ab782.jpg","text":"TemporaryFile(/tmp/multipartBody875729810181541757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707044354,"filename":"image_15042025_07_32_05_5814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349844985","file1":"1349844950","file0":"1349844931","file4":"1349845002","file5":"1349845007","file3":"1349844996"},"map_files_photo_id_array":[{"photo_id":"1349845007","filename":"file5"},{"photo_id":"1349844985","filename":"file2"},{"photo_id":"1349845002","filename":"file4"},{"photo_id":"1349844950","filename":"file1"},{"photo_id":"1349844931","filename":"file0"},{"photo_id":"1349844996","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349845002":["hashtag1","hashtag2"]},{"1349845007":["hashtag1","hashtag2"]},{"1349844950":["hashtag1","hashtag2"]},{"1349844985":["hashtag1","hashtag2"]},{"1349844931":["hashtag1","hashtag2"]},{"1349844996":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349845002, 1349845007, 1349844950, 1349844985, 1349844931, 1349844996)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.42385721206665 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:50:22.624258 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/49/image_15042025_10_49_17_6113.jpg', 2), ('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_47_5833.jpg', 2), ('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_41_5817.jpg', 2), ('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_35_6728.jpg', 2), ('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_29_5608.jpg', 2), ('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_23_6631.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/49/image_15042025_10_49_17_6113.jpg', '/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_47_5833.jpg', '/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_41_5817.jpg', '/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_35_6728.jpg', '/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_29_5608.jpg', '/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_23_6631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/49/image_15042025_10_49_17_6113.jpg /home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_47_5833.jpg /home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_41_5817.jpg /home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_35_6728.jpg /home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_29_5608.jpg /home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_23_6631.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.4222269058227539 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443
\n\n' 400 [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:50:42.616194 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/49/image_15042025_10_49_17_6113.jpg', 2), ('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_47_5833.jpg', 2), ('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_41_5817.jpg', 2), ('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_35_6728.jpg', 2), ('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_29_5608.jpg', 2), ('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_23_6631.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/49/image_15042025_10_49_17_6113.jpg', '/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_47_5833.jpg', '/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_41_5817.jpg', '/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_35_6728.jpg', '/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_29_5608.jpg', '/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_23_6631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/49/image_15042025_10_49_17_6113.jpg /home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_47_5833.jpg /home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_41_5817.jpg /home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_35_6728.jpg /home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_29_5608.jpg /home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_23_6631.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349845079","1349845064","1349845099","1349845093","1349845087","1349845071"],"photo_ids_order":["1349845064","1349845071","1349845079","1349845087","1349845093","1349845099"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0b690c94e8f87dab127da35b95604c2.jpg","text":"TemporaryFile(/tmp/multipartBody1060503854721743626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707104433,"filename":"image_15042025_07_31_41_5817.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6fdb4ee2ae459d59f5e04fa4864e3ef2.jpg","text":"TemporaryFile(/tmp/multipartBody910942269833254682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707104433,"filename":"image_15042025_10_49_17_6113.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0182125fc53f7dbe3aa8096c1af47372.jpg","text":"TemporaryFile(/tmp/multipartBody975539689935566216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707104433,"filename":"image_15042025_07_31_23_6631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/38b326c266c9369aaaa940a2876ef7fa.jpg","text":"TemporaryFile(/tmp/multipartBody2367761738268685305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707104433,"filename":"image_15042025_07_31_29_5608.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/98ed3e68d262b87c413e27ebf70f24ac.jpg","text":"TemporaryFile(/tmp/multipartBody8731723623027826454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707104433,"filename":"image_15042025_07_31_35_6728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/544b5059bc127ccb225aa5d20fed912f.jpg","text":"TemporaryFile(/tmp/multipartBody502110394960333674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707104433,"filename":"image_15042025_07_31_47_5833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845079","file1":"1349845071","file0":"1349845064","file4":"1349845093","file5":"1349845099","file3":"1349845087"},"map_files_photo_id_array":[{"photo_id":"1349845099","filename":"file5"},{"photo_id":"1349845079","filename":"file2"},{"photo_id":"1349845093","filename":"file4"},{"photo_id":"1349845071","filename":"file1"},{"photo_id":"1349845064","filename":"file0"},{"photo_id":"1349845087","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349845079":["hashtag1","hashtag2"]},{"1349845064":["hashtag1","hashtag2"]},{"1349845099":["hashtag1","hashtag2"]},{"1349845093":["hashtag1","hashtag2"]},{"1349845087":["hashtag1","hashtag2"]},{"1349845071":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349845079, 1349845064, 1349845099, 1349845093, 1349845087, 1349845071)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.85135793685913 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:51:22.721862 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_16_5723.jpg', 2), ('/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_05_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_59_6663.jpg', 2), ('/home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_52_5650.jpg', 2), ('/home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_47_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_41_6690.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_16_5723.jpg', '/home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_05_5637.jpg', '/home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_59_6663.jpg', '/home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_52_5650.jpg', '/home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_47_5633.jpg', '/home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_41_6690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_16_5723.jpg /home/nano/Desktop/images/15042025/07/31/image_15042025_07_31_05_5637.jpg /home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_59_6663.jpg /home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_52_5650.jpg /home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_47_5633.jpg /home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_41_6690.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349845161","1349845137","1349845156","1349845141","1349845150","1349845144"],"photo_ids_order":["1349845137","1349845141","1349845144","1349845150","1349845156","1349845161"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/937523e158b091867d2702bb64b4828a.jpg","text":"TemporaryFile(/tmp/multipartBody9127298148034958005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707144469,"filename":"image_15042025_07_30_41_6690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/776fb0a288c9433c958ae5f9bf13bf73.jpg","text":"TemporaryFile(/tmp/multipartBody863373849273064198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707144469,"filename":"image_15042025_07_31_16_5723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44eb02a7979b76b623c356f0d34faba9.jpg","text":"TemporaryFile(/tmp/multipartBody4092873790939122995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707144469,"filename":"image_15042025_07_30_47_5633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/96e6b2f6d1fd5ec5fa4a1d7e49e66c31.jpg","text":"TemporaryFile(/tmp/multipartBody3400406776003139954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707144469,"filename":"image_15042025_07_31_05_5637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac469c12d38de51a0e6961b16e98eba3.jpg","text":"TemporaryFile(/tmp/multipartBody5146640098977135329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707144469,"filename":"image_15042025_07_30_52_5650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6a18f4947711aa42a3c6dcd5df52db6f.jpg","text":"TemporaryFile(/tmp/multipartBody4236539553091729507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707144469,"filename":"image_15042025_07_30_59_6663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845144","file1":"1349845141","file0":"1349845137","file4":"1349845156","file5":"1349845161","file3":"1349845150"},"map_files_photo_id_array":[{"photo_id":"1349845161","filename":"file5"},{"photo_id":"1349845144","filename":"file2"},{"photo_id":"1349845156","filename":"file4"},{"photo_id":"1349845141","filename":"file1"},{"photo_id":"1349845137","filename":"file0"},{"photo_id":"1349845150","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349845161":["hashtag1","hashtag2"]},{"1349845137":["hashtag1","hashtag2"]},{"1349845156":["hashtag1","hashtag2"]},{"1349845141":["hashtag1","hashtag2"]},{"1349845150":["hashtag1","hashtag2"]},{"1349845144":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349845161, 1349845137, 1349845156, 1349845141, 1349845150, 1349845144)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.252384662628174 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:52:02.353970 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_29_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_23_6643.jpg', 2), ('/home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_17_5617.jpg', 2), ('/home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_11_5650.jpg', 2), ('/home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_05_6655.jpg', 2), ('/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_59_5627.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_29_5622.jpg', '/home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_23_6643.jpg', '/home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_17_5617.jpg', '/home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_11_5650.jpg', '/home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_05_6655.jpg', '/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_59_5627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_29_5622.jpg /home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_23_6643.jpg /home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_17_5617.jpg /home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_11_5650.jpg /home/nano/Desktop/images/15042025/07/30/image_15042025_07_30_05_6655.jpg /home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_59_5627.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349845283","1349845313","1349845321","1349845318","1349845306","1349845296"],"photo_ids_order":["1349845283","1349845296","1349845306","1349845313","1349845318","1349845321"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2095dde99d351caa63eedda839ae8a20.jpg","text":"TemporaryFile(/tmp/multipartBody2466883286575286466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707184087,"filename":"image_15042025_07_30_29_5622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d81a9a405c4a44630315f5a6fdb502d4.jpg","text":"TemporaryFile(/tmp/multipartBody4999245832021505871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707184087,"filename":"image_15042025_07_30_11_5650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc094da645a139a0a144c3a1139f27f0.jpg","text":"TemporaryFile(/tmp/multipartBody9091947679304007025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707184087,"filename":"image_15042025_07_29_59_5627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8ae33b46b82261e066d12bf3145c1e1.jpg","text":"TemporaryFile(/tmp/multipartBody5316192837282105536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707184087,"filename":"image_15042025_07_30_05_6655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/27f2e388ab96ca6637dface71900bafa.jpg","text":"TemporaryFile(/tmp/multipartBody5813731541217153910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707184087,"filename":"image_15042025_07_30_17_5617.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b68e6c0d1474275defbc0d53df3c05fe.jpg","text":"TemporaryFile(/tmp/multipartBody3040774762722684208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707184087,"filename":"image_15042025_07_30_23_6643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845306","file1":"1349845296","file0":"1349845283","file4":"1349845318","file5":"1349845321","file3":"1349845313"},"map_files_photo_id_array":[{"photo_id":"1349845321","filename":"file5"},{"photo_id":"1349845306","filename":"file2"},{"photo_id":"1349845318","filename":"file4"},{"photo_id":"1349845296","filename":"file1"},{"photo_id":"1349845283","filename":"file0"},{"photo_id":"1349845313","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349845283":["hashtag1","hashtag2"]},{"1349845313":["hashtag1","hashtag2"]},{"1349845321":["hashtag1","hashtag2"]},{"1349845318":["hashtag1","hashtag2"]},{"1349845306":["hashtag1","hashtag2"]},{"1349845296":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349845283, 1349845313, 1349845321, 1349845318, 1349845306, 1349845296)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.734318494796753 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:52:41.880811 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_53_5676.jpg', 2), ('/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_47_6685.jpg', 2), ('/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_41_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_35_5738.jpg', 2), ('/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_29_5879.jpg', 2), ('/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_23_6809.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_53_5676.jpg', '/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_47_6685.jpg', '/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_41_5649.jpg', '/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_35_5738.jpg', '/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_29_5879.jpg', '/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_23_6809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_53_5676.jpg /home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_47_6685.jpg /home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_41_5649.jpg /home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_35_5738.jpg /home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_29_5879.jpg /home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_23_6809.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349845431","1349845404","1349845343","1349845439","1349845444","1349845351"],"photo_ids_order":["1349845343","1349845351","1349845404","1349845431","1349845439","1349845444"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c4bdac031f322a2cacd94d60694321c2.jpg","text":"TemporaryFile(/tmp/multipartBody5982123680471020932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707223660,"filename":"image_15042025_07_29_35_5738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b71d46b9bb03131cdd100b6cf7075a57.jpg","text":"TemporaryFile(/tmp/multipartBody1987761645411137794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707223660,"filename":"image_15042025_07_29_41_5649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dafabb5532a9e58cdf7d2a5ec531e821.jpg","text":"TemporaryFile(/tmp/multipartBody7212575597582815509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707223660,"filename":"image_15042025_07_29_53_5676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3746e0867c6d74486572e78afa04c022.jpg","text":"TemporaryFile(/tmp/multipartBody2256647326574147629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707223660,"filename":"image_15042025_07_29_29_5879.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/312f6f3bcc11714c314189cc9eedc55c.jpg","text":"TemporaryFile(/tmp/multipartBody7015894054661795579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707223660,"filename":"image_15042025_07_29_23_6809.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e534b7e8e7dd019573d576b09e272260.jpg","text":"TemporaryFile(/tmp/multipartBody4607444720140066130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707223660,"filename":"image_15042025_07_29_47_6685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845404","file1":"1349845351","file0":"1349845343","file4":"1349845439","file5":"1349845444","file3":"1349845431"},"map_files_photo_id_array":[{"photo_id":"1349845444","filename":"file5"},{"photo_id":"1349845404","filename":"file2"},{"photo_id":"1349845439","filename":"file4"},{"photo_id":"1349845351","filename":"file1"},{"photo_id":"1349845343","filename":"file0"},{"photo_id":"1349845431","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349845431":["hashtag1","hashtag2"]},{"1349845404":["hashtag1","hashtag2"]},{"1349845343":["hashtag1","hashtag2"]},{"1349845439":["hashtag1","hashtag2"]},{"1349845444":["hashtag1","hashtag2"]},{"1349845351":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349845431, 1349845404, 1349845343, 1349845439, 1349845444, 1349845351)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.97066569328308 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:53:21.982743 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/53/image_15042025_10_53_59_6067.jpg', 2), ('/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_17_5735.jpg', 2), ('/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_11_5823.jpg', 2), ('/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_05_5797.jpg', 2), ('/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_59_5901.jpg', 2), ('/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_53_6832.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/53/image_15042025_10_53_59_6067.jpg', '/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_17_5735.jpg', '/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_11_5823.jpg', '/home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_05_5797.jpg', '/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_59_5901.jpg', '/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_53_6832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/53/image_15042025_10_53_59_6067.jpg /home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_17_5735.jpg /home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_11_5823.jpg /home/nano/Desktop/images/15042025/07/29/image_15042025_07_29_05_5797.jpg /home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_59_5901.jpg /home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_53_6832.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349845509","1349845500","1349845472","1349845489","1349845483","1349845479"],"photo_ids_order":["1349845472","1349845479","1349845483","1349845489","1349845500","1349845509"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b466e7eed6c8d2c3c59082dc8938501.jpg","text":"TemporaryFile(/tmp/multipartBody558289593986974249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707263804,"filename":"image_15042025_07_28_53_6832.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/995160cb0be9059006f3c4f4fe79270e.jpg","text":"TemporaryFile(/tmp/multipartBody464075265064843613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707263804,"filename":"image_15042025_07_28_59_5901.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f553f753faaddf25d1a79db171aa7d4c.jpg","text":"TemporaryFile(/tmp/multipartBody511351007108697174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707263804,"filename":"image_15042025_10_53_59_6067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c88a683605a64a3dc3648b17ead7f392.jpg","text":"TemporaryFile(/tmp/multipartBody1469146051100416193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707263804,"filename":"image_15042025_07_29_05_5797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c285bd3019c784cd89a0414ffdde3ca.jpg","text":"TemporaryFile(/tmp/multipartBody6006992289026381388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707263804,"filename":"image_15042025_07_29_11_5823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/95ab1e3a36f7c6470296f59dd62deade.jpg","text":"TemporaryFile(/tmp/multipartBody671362152419536148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707263804,"filename":"image_15042025_07_29_17_5735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845483","file1":"1349845479","file0":"1349845472","file4":"1349845500","file5":"1349845509","file3":"1349845489"},"map_files_photo_id_array":[{"photo_id":"1349845509","filename":"file5"},{"photo_id":"1349845483","filename":"file2"},{"photo_id":"1349845500","filename":"file4"},{"photo_id":"1349845479","filename":"file1"},{"photo_id":"1349845472","filename":"file0"},{"photo_id":"1349845489","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349845509":["hashtag1","hashtag2"]},{"1349845500":["hashtag1","hashtag2"]},{"1349845472":["hashtag1","hashtag2"]},{"1349845489":["hashtag1","hashtag2"]},{"1349845483":["hashtag1","hashtag2"]},{"1349845479":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349845509, 1349845500, 1349845472, 1349845489, 1349845483, 1349845479)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.96281051635742 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:54:03.081527 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_47_5756.jpg', 2), ('/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_41_5737.jpg', 2), ('/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_35_5736.jpg', 2), ('/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_29_6850.jpg', 2), ('/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_22_5832.jpg', 2), ('/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_17_5836.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_47_5756.jpg', '/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_41_5737.jpg', '/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_35_5736.jpg', '/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_29_6850.jpg', '/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_22_5832.jpg', '/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_17_5836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_47_5756.jpg /home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_41_5737.jpg /home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_35_5736.jpg /home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_29_6850.jpg /home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_22_5832.jpg /home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_17_5836.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349845551","1349845545","1349845531","1349845555","1349845563","1349845536"],"photo_ids_order":["1349845531","1349845536","1349845545","1349845551","1349845555","1349845563"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/38c4967955100751cb7fcb8e7934da2c.jpg","text":"TemporaryFile(/tmp/multipartBody8052837627381706480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707304917,"filename":"image_15042025_07_28_29_6850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34ebf23312ad3e1fb90cb81f065a2cac.jpg","text":"TemporaryFile(/tmp/multipartBody8352875773910646671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707304917,"filename":"image_15042025_07_28_35_5736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd806388f0ede4ced5b29886b02db216.jpg","text":"TemporaryFile(/tmp/multipartBody430156306363018697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707304917,"filename":"image_15042025_07_28_47_5756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8e2fb0cb4a31c6a131ce208d2b295f6.jpg","text":"TemporaryFile(/tmp/multipartBody4481928005133762682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707304917,"filename":"image_15042025_07_28_22_5832.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/864df7948833540511ad2cb2a48e9d3c.jpg","text":"TemporaryFile(/tmp/multipartBody3484914609039869550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707304917,"filename":"image_15042025_07_28_17_5836.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bdda159bab54e2d9265b6c361df8b5f4.jpg","text":"TemporaryFile(/tmp/multipartBody2144183697623795306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707304917,"filename":"image_15042025_07_28_41_5737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845545","file1":"1349845536","file0":"1349845531","file4":"1349845555","file5":"1349845563","file3":"1349845551"},"map_files_photo_id_array":[{"photo_id":"1349845563","filename":"file5"},{"photo_id":"1349845545","filename":"file2"},{"photo_id":"1349845555","filename":"file4"},{"photo_id":"1349845536","filename":"file1"},{"photo_id":"1349845531","filename":"file0"},{"photo_id":"1349845551","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349845551":["hashtag1","hashtag2"]},{"1349845545":["hashtag1","hashtag2"]},{"1349845531":["hashtag1","hashtag2"]},{"1349845555":["hashtag1","hashtag2"]},{"1349845563":["hashtag1","hashtag2"]},{"1349845536":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349845551, 1349845545, 1349845531, 1349845555, 1349845563, 1349845536)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.78156280517578 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:54:42.108884 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_11_5889.jpg', 2), ('/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_05_5725.jpg', 2), ('/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_59_5817.jpg', 2), ('/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_53_6820.jpg', 2), ('/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_47_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_41_5686.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_11_5889.jpg', '/home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_05_5725.jpg', '/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_59_5817.jpg', '/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_53_6820.jpg', '/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_47_5649.jpg', '/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_41_5686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_11_5889.jpg /home/nano/Desktop/images/15042025/07/28/image_15042025_07_28_05_5725.jpg /home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_59_5817.jpg /home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_53_6820.jpg /home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_47_5649.jpg /home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_41_5686.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349845623","1349845598","1349845586","1349845609","1349845603","1349845593"],"photo_ids_order":["1349845586","1349845593","1349845598","1349845603","1349845609","1349845623"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2235448d3e35db1ea687cac5750ce0c1.jpg","text":"TemporaryFile(/tmp/multipartBody1448980359893220393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707343929,"filename":"image_15042025_07_27_41_5686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/986b8922c25b2be7e4c669b1ecb002cf.jpg","text":"TemporaryFile(/tmp/multipartBody4037397771010550455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707343929,"filename":"image_15042025_07_27_59_5817.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae49a7955514ad259efd8ef60869ec0c.jpg","text":"TemporaryFile(/tmp/multipartBody1377765556129874893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707343929,"filename":"image_15042025_07_28_11_5889.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ae8e4cec0ce4066a9efa2c5bf28c9d1.jpg","text":"TemporaryFile(/tmp/multipartBody1644403727801553556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707343929,"filename":"image_15042025_07_27_47_5649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/381c16b3fbaf5b0c531eebbdb389f36f.jpg","text":"TemporaryFile(/tmp/multipartBody95050477301582368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707343929,"filename":"image_15042025_07_27_53_6820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88a4df5e001f83b5a884474402525215.jpg","text":"TemporaryFile(/tmp/multipartBody5420788939926092266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707343929,"filename":"image_15042025_07_28_05_5725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845598","file1":"1349845593","file0":"1349845586","file4":"1349845609","file5":"1349845623","file3":"1349845603"},"map_files_photo_id_array":[{"photo_id":"1349845623","filename":"file5"},{"photo_id":"1349845598","filename":"file2"},{"photo_id":"1349845609","filename":"file4"},{"photo_id":"1349845593","filename":"file1"},{"photo_id":"1349845586","filename":"file0"},{"photo_id":"1349845603","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349845623":["hashtag1","hashtag2"]},{"1349845598":["hashtag1","hashtag2"]},{"1349845586":["hashtag1","hashtag2"]},{"1349845609":["hashtag1","hashtag2"]},{"1349845603":["hashtag1","hashtag2"]},{"1349845593":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349845623, 1349845598, 1349845586, 1349845609, 1349845603, 1349845593)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 36.36405348777771 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:55:22.243487 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_35_6669.jpg', 2), ('/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_29_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_23_5666.jpg', 2), ('/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_17_6645.jpg', 2), ('/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_05_5650.jpg', 2), ('/home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_47_5627.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_35_6669.jpg', '/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_29_5640.jpg', '/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_23_5666.jpg', '/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_17_6645.jpg', '/home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_05_5650.jpg', '/home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_47_5627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_35_6669.jpg /home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_29_5640.jpg /home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_23_5666.jpg /home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_17_6645.jpg /home/nano/Desktop/images/15042025/07/27/image_15042025_07_27_05_5650.jpg /home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_47_5627.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349845659","1349845650","1349845646","1349845640","1349845671","1349845653"],"photo_ids_order":["1349845640","1349845646","1349845650","1349845653","1349845659","1349845671"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c85b953219038bde6f053cfd3e6dea4a.jpg","text":"TemporaryFile(/tmp/multipartBody7945165306951474636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707383977,"filename":"image_15042025_07_27_05_5650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fbabdbb4b73dfd23880e9cc328bd0f00.jpg","text":"TemporaryFile(/tmp/multipartBody5047212382962840928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707383977,"filename":"image_15042025_07_27_23_5666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/933feb2c6594ffbdc1b9ddea97c1570f.jpg","text":"TemporaryFile(/tmp/multipartBody194144301297579159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707383977,"filename":"image_15042025_07_27_29_5640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/799b3e5ea2e3b838737e295d3f4d59bb.jpg","text":"TemporaryFile(/tmp/multipartBody8993058639962787948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707383977,"filename":"image_15042025_07_27_35_6669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5c87ee51e3b71e3fbab28da9753e761.jpg","text":"TemporaryFile(/tmp/multipartBody6626288060307104661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707383977,"filename":"image_15042025_07_26_47_5627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/962a36837bebc02eb9bcebef05348826.jpg","text":"TemporaryFile(/tmp/multipartBody2241023481407906415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707383977,"filename":"image_15042025_07_27_17_6645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845650","file1":"1349845646","file0":"1349845640","file4":"1349845659","file5":"1349845671","file3":"1349845653"},"map_files_photo_id_array":[{"photo_id":"1349845671","filename":"file5"},{"photo_id":"1349845650","filename":"file2"},{"photo_id":"1349845659","filename":"file4"},{"photo_id":"1349845646","filename":"file1"},{"photo_id":"1349845640","filename":"file0"},{"photo_id":"1349845653","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349845659":["hashtag1","hashtag2"]},{"1349845650":["hashtag1","hashtag2"]},{"1349845646":["hashtag1","hashtag2"]},{"1349845640":["hashtag1","hashtag2"]},{"1349845671":["hashtag1","hashtag2"]},{"1349845653":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349845659, 1349845650, 1349845646, 1349845640, 1349845671, 1349845653)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 35.94174003601074 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:56:02.997409 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_41_6626.jpg', 2), ('/home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_29_6616.jpg', 2), ('/home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_22_5614.jpg', 2), ('/home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_17_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_11_6644.jpg', 2), ('/home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_05_5631.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_41_6626.jpg', '/home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_29_6616.jpg', '/home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_22_5614.jpg', '/home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_17_5640.jpg', '/home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_11_6644.jpg', '/home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_05_5631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_41_6626.jpg /home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_29_6616.jpg /home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_22_5614.jpg /home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_17_5640.jpg /home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_11_6644.jpg /home/nano/Desktop/images/15042025/07/26/image_15042025_07_26_05_5631.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349845719","1349845685","1349845814","1349845753","1349845783","1349845845"],"photo_ids_order":["1349845685","1349845719","1349845753","1349845783","1349845814","1349845845"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d54d9570d7fe4cefef7cf144cd5d1fc0.jpg","text":"TemporaryFile(/tmp/multipartBody3720060117760354996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707424728,"filename":"image_15042025_07_26_29_6616.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d2e745de760385130d1b15272ccced8.jpg","text":"TemporaryFile(/tmp/multipartBody5701407052315854946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707424728,"filename":"image_15042025_07_26_41_6626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f967534191b3c16dce5a9135c159985.jpg","text":"TemporaryFile(/tmp/multipartBody4033266594542214868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707424728,"filename":"image_15042025_07_26_11_6644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/46d8345427182035389b5a355a9e1197.jpg","text":"TemporaryFile(/tmp/multipartBody2919984340521085064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707424728,"filename":"image_15042025_07_26_22_5614.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/be77219b90b0765811b86d69d43f122c.jpg","text":"TemporaryFile(/tmp/multipartBody1931442017691534748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707424728,"filename":"image_15042025_07_26_17_5640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8fb4419a29a39ba906caab2ca7bbd67.jpg","text":"TemporaryFile(/tmp/multipartBody7699512816658455435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707424728,"filename":"image_15042025_07_26_05_5631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349845753","file1":"1349845719","file0":"1349845685","file4":"1349845814","file5":"1349845845","file3":"1349845783"},"map_files_photo_id_array":[{"photo_id":"1349845845","filename":"file5"},{"photo_id":"1349845753","filename":"file2"},{"photo_id":"1349845814","filename":"file4"},{"photo_id":"1349845719","filename":"file1"},{"photo_id":"1349845685","filename":"file0"},{"photo_id":"1349845783","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349845719":["hashtag1","hashtag2"]},{"1349845685":["hashtag1","hashtag2"]},{"1349845814":["hashtag1","hashtag2"]},{"1349845753":["hashtag1","hashtag2"]},{"1349845783":["hashtag1","hashtag2"]},{"1349845845":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349845719, 1349845685, 1349845814, 1349845753, 1349845783, 1349845845)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.795819520950317 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:56:42.429755 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_59_5618.jpg', 2), ('/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_53_6653.jpg', 2), ('/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_47_5616.jpg', 2), ('/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_41_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_35_6624.jpg', 2), ('/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_29_5623.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_59_5618.jpg', '/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_53_6653.jpg', '/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_47_5616.jpg', '/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_41_5632.jpg', '/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_35_6624.jpg', '/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_29_5623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_59_5618.jpg /home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_53_6653.jpg /home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_47_5616.jpg /home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_41_5632.jpg /home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_35_6624.jpg /home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_29_5623.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349846024","1349846111","1349846263","1349845987","1349846058","1349846208"],"photo_ids_order":["1349845987","1349846024","1349846058","1349846111","1349846208","1349846263"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1064dd37475084d7319797ecf0ef5526.jpg","text":"TemporaryFile(/tmp/multipartBody732095192420430612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707464147,"filename":"image_15042025_07_25_53_6653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d89b73d07ba54737207dcd897c93a4d9.jpg","text":"TemporaryFile(/tmp/multipartBody804015159174634362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707464147,"filename":"image_15042025_07_25_41_5632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d92a8edf69835cb17c474db8a05b21f.jpg","text":"TemporaryFile(/tmp/multipartBody8026477551098307631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707464147,"filename":"image_15042025_07_25_29_5623.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32b472c8704f0fe2036cb6b0914285f1.jpg","text":"TemporaryFile(/tmp/multipartBody4815289980447182041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707464147,"filename":"image_15042025_07_25_59_5618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed6d6b6780fc11b1f25a6233804943f0.jpg","text":"TemporaryFile(/tmp/multipartBody2801769264635781624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707464147,"filename":"image_15042025_07_25_47_5616.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6622579a4639836776545101603bd80.jpg","text":"TemporaryFile(/tmp/multipartBody5743843543340428564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707464147,"filename":"image_15042025_07_25_35_6624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349846058","file1":"1349846024","file0":"1349845987","file4":"1349846208","file5":"1349846263","file3":"1349846111"},"map_files_photo_id_array":[{"photo_id":"1349846263","filename":"file5"},{"photo_id":"1349846058","filename":"file2"},{"photo_id":"1349846208","filename":"file4"},{"photo_id":"1349846024","filename":"file1"},{"photo_id":"1349845987","filename":"file0"},{"photo_id":"1349846111","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349846024":["hashtag1","hashtag2"]},{"1349846111":["hashtag1","hashtag2"]},{"1349846263":["hashtag1","hashtag2"]},{"1349845987":["hashtag1","hashtag2"]},{"1349846058":["hashtag1","hashtag2"]},{"1349846208":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349846024, 1349846111, 1349846263, 1349845987, 1349846058, 1349846208)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.120509147644043 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:57:22.551318 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_23_6666.jpg', 2), ('/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_17_5636.jpg', 2), ('/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_11_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_05_6619.jpg', 2), ('/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_59_5889.jpg', 2), ('/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_47_5783.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_23_6666.jpg', '/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_17_5636.jpg', '/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_11_5656.jpg', '/home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_05_6619.jpg', '/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_59_5889.jpg', '/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_47_5783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_23_6666.jpg /home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_17_5636.jpg /home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_11_5656.jpg /home/nano/Desktop/images/15042025/07/25/image_15042025_07_25_05_6619.jpg /home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_59_5889.jpg /home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_47_5783.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349846684","1349846837","1349846578","1349846908","1349846760","1349846634"],"photo_ids_order":["1349846578","1349846634","1349846684","1349846760","1349846837","1349846908"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a6f9a465bfdc1ead973c463564ab157.jpg","text":"TemporaryFile(/tmp/multipartBody5068504689788047261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707504324,"filename":"image_15042025_07_25_11_5656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a1e03307deb17da05124315c33fcbe4.jpg","text":"TemporaryFile(/tmp/multipartBody7064595598983865944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707504324,"filename":"image_15042025_07_24_59_5889.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/320c57a84ef68abeae4e5138e91b9663.jpg","text":"TemporaryFile(/tmp/multipartBody1508905156601433147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707504324,"filename":"image_15042025_07_25_23_6666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c01a7a1294f5d02e2bedb1b03348cd2e.jpg","text":"TemporaryFile(/tmp/multipartBody5836605139772974911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707504324,"filename":"image_15042025_07_24_47_5783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab7d6c65c9352e19a616b5e6a248e51f.jpg","text":"TemporaryFile(/tmp/multipartBody6148385960833600605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707504324,"filename":"image_15042025_07_25_05_6619.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2e61c49baf65c8fbc386922b3edaf9b8.jpg","text":"TemporaryFile(/tmp/multipartBody2795921453120680186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707504324,"filename":"image_15042025_07_25_17_5636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349846684","file1":"1349846634","file0":"1349846578","file4":"1349846837","file5":"1349846908","file3":"1349846760"},"map_files_photo_id_array":[{"photo_id":"1349846908","filename":"file5"},{"photo_id":"1349846684","filename":"file2"},{"photo_id":"1349846837","filename":"file4"},{"photo_id":"1349846634","filename":"file1"},{"photo_id":"1349846578","filename":"file0"},{"photo_id":"1349846760","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349846684":["hashtag1","hashtag2"]},{"1349846837":["hashtag1","hashtag2"]},{"1349846578":["hashtag1","hashtag2"]},{"1349846908":["hashtag1","hashtag2"]},{"1349846760":["hashtag1","hashtag2"]},{"1349846634":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349846684, 1349846837, 1349846578, 1349846908, 1349846760, 1349846634)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.94859552383423 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:58:03.216323 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_41_5740.jpg', 2), ('/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_35_6739.jpg', 2), ('/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_28_5704.jpg', 2), ('/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_23_5777.jpg', 2), ('/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_17_6037.jpg', 2), ('/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_05_5851.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_41_5740.jpg', '/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_35_6739.jpg', '/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_28_5704.jpg', '/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_23_5777.jpg', '/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_17_6037.jpg', '/home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_05_5851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_41_5740.jpg /home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_35_6739.jpg /home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_28_5704.jpg /home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_23_5777.jpg /home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_17_6037.jpg /home/nano/Desktop/images/15042025/07/24/image_15042025_07_24_05_5851.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349847112","1349847022","1349847171","1349847075","1349846967","1349847152"],"photo_ids_order":["1349846967","1349847022","1349847075","1349847112","1349847152","1349847171"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6e59e32feb4061e1e4da61746487d9a0.jpg","text":"TemporaryFile(/tmp/multipartBody2504741004181182667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707545056,"filename":"image_15042025_07_24_23_5777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7834548b5170f91f0873bfc45b378c25.jpg","text":"TemporaryFile(/tmp/multipartBody3896967712021779764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707545056,"filename":"image_15042025_07_24_35_6739.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a304ef6420e0fb8e462aad7b34088a90.jpg","text":"TemporaryFile(/tmp/multipartBody8780546307259110534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707545056,"filename":"image_15042025_07_24_05_5851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/104425510895ea1216afa5221cfde4ae.jpg","text":"TemporaryFile(/tmp/multipartBody352126326673164566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707545056,"filename":"image_15042025_07_24_28_5704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/51f507866f08d0c9b1133d0df2cf53fd.jpg","text":"TemporaryFile(/tmp/multipartBody8763667857468274514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707545056,"filename":"image_15042025_07_24_41_5740.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/798467fddb156ac5c75496c112c0ee45.jpg","text":"TemporaryFile(/tmp/multipartBody3580918645087439535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707545056,"filename":"image_15042025_07_24_17_6037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349847075","file1":"1349847022","file0":"1349846967","file4":"1349847152","file5":"1349847171","file3":"1349847112"},"map_files_photo_id_array":[{"photo_id":"1349847171","filename":"file5"},{"photo_id":"1349847075","filename":"file2"},{"photo_id":"1349847152","filename":"file4"},{"photo_id":"1349847022","filename":"file1"},{"photo_id":"1349846967","filename":"file0"},{"photo_id":"1349847112","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349847112":["hashtag1","hashtag2"]},{"1349847022":["hashtag1","hashtag2"]},{"1349847171":["hashtag1","hashtag2"]},{"1349847075":["hashtag1","hashtag2"]},{"1349846967":["hashtag1","hashtag2"]},{"1349847152":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349847112, 1349847022, 1349847171, 1349847075, 1349846967, 1349847152)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.02879285812378 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:59:02.812994 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/58/image_15042025_10_58_59_6038.jpg', 2), ('/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_59_5769.jpg', 2), ('/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_53_6788.jpg', 2), ('/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_47_5836.jpg', 2), ('/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_35_5806.jpg', 2), ('/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_29_5747.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/58/image_15042025_10_58_59_6038.jpg', '/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_59_5769.jpg', '/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_53_6788.jpg', '/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_47_5836.jpg', '/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_35_5806.jpg', '/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_29_5747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/58/image_15042025_10_58_59_6038.jpg /home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_59_5769.jpg /home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_53_6788.jpg /home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_47_5836.jpg /home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_35_5806.jpg /home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_29_5747.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349847595","1349847730","1349847358","1349847675","1349847462","1349847323"],"photo_ids_order":["1349847323","1349847358","1349847462","1349847595","1349847675","1349847730"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5db90e1b315b716fa1f6a583a5129af5.jpg","text":"TemporaryFile(/tmp/multipartBody3386859666516823280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707604654,"filename":"image_15042025_07_23_47_5836.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a9a519a429378e24da212fb9474d7a37.jpg","text":"TemporaryFile(/tmp/multipartBody8890611518909047058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707604654,"filename":"image_15042025_07_23_29_5747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cce0e2ae60a0347db255ee1e19489b4c.jpg","text":"TemporaryFile(/tmp/multipartBody6115340519723694150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707604654,"filename":"image_15042025_07_23_59_5769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd2a5dccba9086c3b135cdbd20ec6189.jpg","text":"TemporaryFile(/tmp/multipartBody3033431114454546296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707604654,"filename":"image_15042025_07_23_35_5806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1592f597538d3fe1939c84919bc42384.jpg","text":"TemporaryFile(/tmp/multipartBody870940796756701590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707604654,"filename":"image_15042025_07_23_53_6788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b584457a58d288e6b85fce53ced03902.jpg","text":"TemporaryFile(/tmp/multipartBody6986354081050973118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707604654,"filename":"image_15042025_10_58_59_6038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349847462","file1":"1349847358","file0":"1349847323","file4":"1349847675","file5":"1349847730","file3":"1349847595"},"map_files_photo_id_array":[{"photo_id":"1349847730","filename":"file5"},{"photo_id":"1349847462","filename":"file2"},{"photo_id":"1349847675","filename":"file4"},{"photo_id":"1349847358","filename":"file1"},{"photo_id":"1349847323","filename":"file0"},{"photo_id":"1349847595","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349847595":["hashtag1","hashtag2"]},{"1349847730":["hashtag1","hashtag2"]},{"1349847358":["hashtag1","hashtag2"]},{"1349847675":["hashtag1","hashtag2"]},{"1349847462":["hashtag1","hashtag2"]},{"1349847323":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349847595, 1349847730, 1349847358, 1349847675, 1349847462, 1349847323)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 36.67798042297363 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 10:59:41.932087 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_23_5807.jpg', 2), ('/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_17_6777.jpg', 2), ('/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_11_5834.jpg', 2), ('/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_05_5835.jpg', 2), ('/home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_59_6009.jpg', 2), ('/home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_47_5807.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_23_5807.jpg', '/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_17_6777.jpg', '/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_11_5834.jpg', '/home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_05_5835.jpg', '/home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_59_6009.jpg', '/home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_47_5807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_23_5807.jpg /home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_17_6777.jpg /home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_11_5834.jpg /home/nano/Desktop/images/15042025/07/23/image_15042025_07_23_05_5835.jpg /home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_59_6009.jpg /home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_47_5807.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349848219","1349848108","1349847928","1349848167","1349848047","1349847983"],"photo_ids_order":["1349847928","1349847983","1349848047","1349848108","1349848167","1349848219"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ef5e6673131e1138f8b93a901d029cb.jpg","text":"TemporaryFile(/tmp/multipartBody3607156119556610482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707643758,"filename":"image_15042025_07_22_47_5807.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14b4b1393cda66ec1ec0a7fea96e5329.jpg","text":"TemporaryFile(/tmp/multipartBody763028476803194313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707643758,"filename":"image_15042025_07_23_05_5835.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e0cc43dec93fdbba33fa86d69e7d1f64.jpg","text":"TemporaryFile(/tmp/multipartBody5842022217804465161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707643758,"filename":"image_15042025_07_23_23_5807.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19c6969ea2995d1bf122998e19f80680.jpg","text":"TemporaryFile(/tmp/multipartBody4846597713677537593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707643758,"filename":"image_15042025_07_22_59_6009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ae9442691211dedcca841731b12e77a.jpg","text":"TemporaryFile(/tmp/multipartBody5738697689141750351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707643758,"filename":"image_15042025_07_23_11_5834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68ba76d0d6d1a2cf086c13555f9d71c5.jpg","text":"TemporaryFile(/tmp/multipartBody450862141927284895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707643758,"filename":"image_15042025_07_23_17_6777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349848047","file1":"1349847983","file0":"1349847928","file4":"1349848167","file5":"1349848219","file3":"1349848108"},"map_files_photo_id_array":[{"photo_id":"1349848219","filename":"file5"},{"photo_id":"1349848047","filename":"file2"},{"photo_id":"1349848167","filename":"file4"},{"photo_id":"1349847983","filename":"file1"},{"photo_id":"1349847928","filename":"file0"},{"photo_id":"1349848108","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349848219":["hashtag1","hashtag2"]},{"1349848108":["hashtag1","hashtag2"]},{"1349847928":["hashtag1","hashtag2"]},{"1349848167":["hashtag1","hashtag2"]},{"1349848047":["hashtag1","hashtag2"]},{"1349847983":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349848219, 1349848108, 1349847928, 1349848167, 1349848047, 1349847983)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.167280673980713 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:00:22.050256 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_41_5786.jpg', 2), ('/home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_35_6813.jpg', 2), ('/home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_28_5812.jpg', 2), ('/home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_23_5776.jpg', 2), ('/home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_17_5813.jpg', 2), ('/home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_11_5804.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_41_5786.jpg', '/home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_35_6813.jpg', '/home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_28_5812.jpg', '/home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_23_5776.jpg', '/home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_17_5813.jpg', '/home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_11_5804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_41_5786.jpg /home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_35_6813.jpg /home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_28_5812.jpg /home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_23_5776.jpg /home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_17_5813.jpg /home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_11_5804.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349848576","1349848470","1349848500","1349848388","1349848427","1349848610"],"photo_ids_order":["1349848388","1349848427","1349848470","1349848500","1349848576","1349848610"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2404ba3426c5459f00f80129ead16ad7.jpg","text":"TemporaryFile(/tmp/multipartBody8897289287621935646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707683867,"filename":"image_15042025_07_22_17_5813.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/efab11f795a70635c072ddca5785a029.jpg","text":"TemporaryFile(/tmp/multipartBody8489123262138334002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707683867,"filename":"image_15042025_07_22_28_5812.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cfda5b5573f43b9061b454c7748a9a68.jpg","text":"TemporaryFile(/tmp/multipartBody7855063811405432499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707683867,"filename":"image_15042025_07_22_23_5776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b97bae94d22d28a5f4593b83e04635a1.jpg","text":"TemporaryFile(/tmp/multipartBody8173555543621331672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707683867,"filename":"image_15042025_07_22_41_5786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67243a29d3ca175cd3d88cfc9366ef77.jpg","text":"TemporaryFile(/tmp/multipartBody8401543910123771610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707683867,"filename":"image_15042025_07_22_35_6813.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3be665650f06258049283793621af61b.jpg","text":"TemporaryFile(/tmp/multipartBody3674782779673440762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707683867,"filename":"image_15042025_07_22_11_5804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349848470","file1":"1349848427","file0":"1349848388","file4":"1349848576","file5":"1349848610","file3":"1349848500"},"map_files_photo_id_array":[{"photo_id":"1349848610","filename":"file5"},{"photo_id":"1349848470","filename":"file2"},{"photo_id":"1349848576","filename":"file4"},{"photo_id":"1349848427","filename":"file1"},{"photo_id":"1349848388","filename":"file0"},{"photo_id":"1349848500","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349848576":["hashtag1","hashtag2"]},{"1349848470":["hashtag1","hashtag2"]},{"1349848500":["hashtag1","hashtag2"]},{"1349848388":["hashtag1","hashtag2"]},{"1349848427":["hashtag1","hashtag2"]},{"1349848610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349848576, 1349848470, 1349848500, 1349848388, 1349848427, 1349848610)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 34.24891400337219 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:01:02.681355 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_05_6669.jpg', 2), ('/home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_59_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_53_5612.jpg', 2), ('/home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_47_6667.jpg', 2), ('/home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_41_5894.jpg', 2), ('/home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_05_6677.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_05_6669.jpg', '/home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_59_5649.jpg', '/home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_53_5612.jpg', '/home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_47_6667.jpg', '/home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_41_5894.jpg', '/home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_05_6677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/22/image_15042025_07_22_05_6669.jpg /home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_59_5649.jpg /home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_53_5612.jpg /home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_47_6667.jpg /home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_41_5894.jpg /home/nano/Desktop/images/15042025/07/21/image_15042025_07_21_05_6677.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349848969","1349849005","1349848893","1349848796","1349848838","1349848928"],"photo_ids_order":["1349848796","1349848838","1349848893","1349848928","1349848969","1349849005"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5710192669dd256b3a60ee0e6adda326.jpg","text":"TemporaryFile(/tmp/multipartBody1418872399050357436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707724449,"filename":"image_15042025_07_21_41_5894.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee1c00b4fb3eec2e89b802c3b701a243.jpg","text":"TemporaryFile(/tmp/multipartBody3211090676893899547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707724449,"filename":"image_15042025_07_21_05_6677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/405073188fe9a859b96770f2c70916a9.jpg","text":"TemporaryFile(/tmp/multipartBody4992651401814890988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707724449,"filename":"image_15042025_07_21_53_5612.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e6dc52852ebe915f1e1def4a112f0f10.jpg","text":"TemporaryFile(/tmp/multipartBody8031890268497006308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707724449,"filename":"image_15042025_07_22_05_6669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/710b4433c0b0d9d1b5b38b895306e915.jpg","text":"TemporaryFile(/tmp/multipartBody3059780578772716383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707724449,"filename":"image_15042025_07_21_59_5649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cda3e3db9b11c88753f60f146c94a9d9.jpg","text":"TemporaryFile(/tmp/multipartBody1100854400111024906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707724449,"filename":"image_15042025_07_21_47_6667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349848893","file1":"1349848838","file0":"1349848796","file4":"1349848969","file5":"1349849005","file3":"1349848928"},"map_files_photo_id_array":[{"photo_id":"1349849005","filename":"file5"},{"photo_id":"1349848893","filename":"file2"},{"photo_id":"1349848969","filename":"file4"},{"photo_id":"1349848838","filename":"file1"},{"photo_id":"1349848796","filename":"file0"},{"photo_id":"1349848928","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349848969":["hashtag1","hashtag2"]},{"1349849005":["hashtag1","hashtag2"]},{"1349848893":["hashtag1","hashtag2"]},{"1349848796":["hashtag1","hashtag2"]},{"1349848838":["hashtag1","hashtag2"]},{"1349848928":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349848969, 1349849005, 1349848893, 1349848796, 1349848838, 1349848928)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.655990600585938 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:01:42.173444 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_59_5631.jpg', 2), ('/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_53_5591.jpg', 2), ('/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_47_6615.jpg', 2), ('/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_41_5615.jpg', 2), ('/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_35_6632.jpg', 2), ('/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_29_5658.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_59_5631.jpg', '/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_53_5591.jpg', '/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_47_6615.jpg', '/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_41_5615.jpg', '/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_35_6632.jpg', '/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_29_5658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_59_5631.jpg /home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_53_5591.jpg /home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_47_6615.jpg /home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_41_5615.jpg /home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_35_6632.jpg /home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_29_5658.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349849311","1349849416","1349849370","1349849218","1349849253","1349849167"],"photo_ids_order":["1349849167","1349849218","1349849253","1349849311","1349849370","1349849416"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11f02a9a30cc8b6eae912c4148315a95.jpg","text":"TemporaryFile(/tmp/multipartBody4018778960884412804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707763889,"filename":"image_15042025_07_20_41_5615.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1eae463f2a2daff349eecd58cf535e2.jpg","text":"TemporaryFile(/tmp/multipartBody5956796038626525173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707763889,"filename":"image_15042025_07_20_29_5658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fd712c2cd11628950c719a12aa05863e.jpg","text":"TemporaryFile(/tmp/multipartBody4600999223430051817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707763889,"filename":"image_15042025_07_20_35_6632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/831447b54db63a815c9f6504e6aedd73.jpg","text":"TemporaryFile(/tmp/multipartBody4810965469546149968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707763889,"filename":"image_15042025_07_20_53_5591.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/57bc7f1c5ac21df820167633564ad00f.jpg","text":"TemporaryFile(/tmp/multipartBody6903376144328315598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707763889,"filename":"image_15042025_07_20_47_6615.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b786c83a5eca21dfaaf952cbf6bcaea1.jpg","text":"TemporaryFile(/tmp/multipartBody1807108536299133786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707763889,"filename":"image_15042025_07_20_59_5631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349849253","file1":"1349849218","file0":"1349849167","file4":"1349849370","file5":"1349849416","file3":"1349849311"},"map_files_photo_id_array":[{"photo_id":"1349849416","filename":"file5"},{"photo_id":"1349849253","filename":"file2"},{"photo_id":"1349849370","filename":"file4"},{"photo_id":"1349849218","filename":"file1"},{"photo_id":"1349849167","filename":"file0"},{"photo_id":"1349849311","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349849311":["hashtag1","hashtag2"]},{"1349849416":["hashtag1","hashtag2"]},{"1349849370":["hashtag1","hashtag2"]},{"1349849218":["hashtag1","hashtag2"]},{"1349849253":["hashtag1","hashtag2"]},{"1349849167":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349849311, 1349849416, 1349849370, 1349849218, 1349849253, 1349849167)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.616985321044922 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:02:22.280515 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/10/50/image_15042025_10_50_29_6040.jpg', 2), ('/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_23_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_17_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_11_5664.jpg', 2), ('/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_05_5665.jpg', 2), ('/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_59_6640.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/10/50/image_15042025_10_50_29_6040.jpg', '/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_23_5646.jpg', '/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_17_6634.jpg', '/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_11_5664.jpg', '/home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_05_5665.jpg', '/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_59_6640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/10/50/image_15042025_10_50_29_6040.jpg /home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_23_5646.jpg /home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_17_6634.jpg /home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_11_5664.jpg /home/nano/Desktop/images/15042025/07/20/image_15042025_07_20_05_5665.jpg /home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_59_6640.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349849697","1349849613","1349849582","1349849731","1349849656","1349849521"],"photo_ids_order":["1349849521","1349849582","1349849613","1349849656","1349849697","1349849731"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/56c99730150eb817fcafc1990ca0ef0a.jpg","text":"TemporaryFile(/tmp/multipartBody3853156511677051475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707804037,"filename":"image_15042025_07_20_05_5665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9bad5aa4705dc3973ebeaaedd7541189.jpg","text":"TemporaryFile(/tmp/multipartBody1364813410416257757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707804037,"filename":"image_15042025_07_20_17_6634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2d466cf6843a5203520aca995d9a9ec.jpg","text":"TemporaryFile(/tmp/multipartBody2757800820612134319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707804037,"filename":"image_15042025_07_20_23_5646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34c0bcff46dfe5437a5c82b9751befbe.jpg","text":"TemporaryFile(/tmp/multipartBody3804665768750448360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707804037,"filename":"image_15042025_07_19_59_6640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/391105edf87089d2428cc1edc70e9669.jpg","text":"TemporaryFile(/tmp/multipartBody7836643135066513967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707804037,"filename":"image_15042025_07_20_11_5664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/95392388cc0ede4f661e9b2d67f05b93.jpg","text":"TemporaryFile(/tmp/multipartBody8039802532805644155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707804037,"filename":"image_15042025_10_50_29_6040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349849613","file1":"1349849582","file0":"1349849521","file4":"1349849697","file5":"1349849731","file3":"1349849656"},"map_files_photo_id_array":[{"photo_id":"1349849731","filename":"file5"},{"photo_id":"1349849613","filename":"file2"},{"photo_id":"1349849697","filename":"file4"},{"photo_id":"1349849582","filename":"file1"},{"photo_id":"1349849521","filename":"file0"},{"photo_id":"1349849656","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349849697":["hashtag1","hashtag2"]},{"1349849613":["hashtag1","hashtag2"]},{"1349849582":["hashtag1","hashtag2"]},{"1349849731":["hashtag1","hashtag2"]},{"1349849656":["hashtag1","hashtag2"]},{"1349849521":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349849697, 1349849613, 1349849582, 1349849731, 1349849656, 1349849521)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.35613393783569 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:03:22.438186 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/03/image_15042025_11_03_59_6050.jpg', 2), ('/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_53_5618.jpg', 2), ('/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_47_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_41_6633.jpg', 2), ('/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_29_6685.jpg', 2), ('/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_22_5785.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/03/image_15042025_11_03_59_6050.jpg', '/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_53_5618.jpg', '/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_47_5635.jpg', '/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_41_6633.jpg', '/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_29_6685.jpg', '/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_22_5785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/03/image_15042025_11_03_59_6050.jpg /home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_53_5618.jpg /home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_47_5635.jpg /home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_41_6633.jpg /home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_29_6685.jpg /home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_22_5785.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349849891","1349849975","1349849948","1349849921","1349849959","1349849944"],"photo_ids_order":["1349849891","1349849921","1349849944","1349849948","1349849959","1349849975"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aaa6f7096f759fe0c56808880947d67e.jpg","text":"TemporaryFile(/tmp/multipartBody1950766496141886691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707864185,"filename":"image_15042025_11_03_59_6050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2d44ac574ac1d309fdb1afcf33a2c33.jpg","text":"TemporaryFile(/tmp/multipartBody9064070020600502313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707864185,"filename":"image_15042025_07_19_22_5785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/42b2bf07d5c1acd9f66a4736e5137333.jpg","text":"TemporaryFile(/tmp/multipartBody2420177492099335792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707864185,"filename":"image_15042025_07_19_41_6633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20e64c1ac2fb237635b5eda458a8137d.jpg","text":"TemporaryFile(/tmp/multipartBody2249137727429813177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707864185,"filename":"image_15042025_07_19_53_5618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5bb9c2dc218b51492db046a661491bd8.jpg","text":"TemporaryFile(/tmp/multipartBody5105724345015452803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707864185,"filename":"image_15042025_07_19_29_6685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5207f1afa9bc1dd4c683cfa6a5198f5.jpg","text":"TemporaryFile(/tmp/multipartBody3304012944773424292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707864185,"filename":"image_15042025_07_19_47_5635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349849944","file1":"1349849921","file0":"1349849891","file4":"1349849959","file5":"1349849975","file3":"1349849948"},"map_files_photo_id_array":[{"photo_id":"1349849975","filename":"file5"},{"photo_id":"1349849944","filename":"file2"},{"photo_id":"1349849959","filename":"file4"},{"photo_id":"1349849921","filename":"file1"},{"photo_id":"1349849891","filename":"file0"},{"photo_id":"1349849948","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349849891":["hashtag1","hashtag2"]},{"1349849975":["hashtag1","hashtag2"]},{"1349849948":["hashtag1","hashtag2"]},{"1349849921":["hashtag1","hashtag2"]},{"1349849959":["hashtag1","hashtag2"]},{"1349849944":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349849891, 1349849975, 1349849948, 1349849921, 1349849959, 1349849944)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.51295495033264 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:04:03.554118 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_17_5862.jpg', 2), ('/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_11_6082.jpg', 2), ('/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_05_5997.jpg', 2), ('/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_59_6075.jpg', 2), ('/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_53_6124.jpg', 2), ('/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_47_5937.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_17_5862.jpg', '/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_11_6082.jpg', '/home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_05_5997.jpg', '/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_59_6075.jpg', '/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_53_6124.jpg', '/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_47_5937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_17_5862.jpg /home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_11_6082.jpg /home/nano/Desktop/images/15042025/07/19/image_15042025_07_19_05_5997.jpg /home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_59_6075.jpg /home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_53_6124.jpg /home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_47_5937.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349850030","1349850041","1349850035","1349850023","1349850017","1349850026"],"photo_ids_order":["1349850017","1349850023","1349850026","1349850030","1349850035","1349850041"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/367996b6bc999e012d2b30cd8224ca1b.jpg","text":"TemporaryFile(/tmp/multipartBody7306793133379601355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707905498,"filename":"image_15042025_07_18_59_6075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/73fd4ddd936560fa011118d516098273.jpg","text":"TemporaryFile(/tmp/multipartBody7321955271244871982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707905498,"filename":"image_15042025_07_18_47_5937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ba1133808bac0d7a4fd6177e70d07a5.jpg","text":"TemporaryFile(/tmp/multipartBody3806736328625281221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707905498,"filename":"image_15042025_07_18_53_6124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ae9b01b631f5eb8f71406c9c50f278d.jpg","text":"TemporaryFile(/tmp/multipartBody5238147794196305025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707905498,"filename":"image_15042025_07_19_11_6082.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71cf78ed1ef7895dd56e702866e3be4e.jpg","text":"TemporaryFile(/tmp/multipartBody7480235630836789430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707905498,"filename":"image_15042025_07_19_17_5862.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5bb4c3145a18d7eb6e72314ffcc3f987.jpg","text":"TemporaryFile(/tmp/multipartBody3703158292117897985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707905498,"filename":"image_15042025_07_19_05_5997.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349850026","file1":"1349850023","file0":"1349850017","file4":"1349850035","file5":"1349850041","file3":"1349850030"},"map_files_photo_id_array":[{"photo_id":"1349850041","filename":"file5"},{"photo_id":"1349850026","filename":"file2"},{"photo_id":"1349850035","filename":"file4"},{"photo_id":"1349850023","filename":"file1"},{"photo_id":"1349850017","filename":"file0"},{"photo_id":"1349850030","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349850030":["hashtag1","hashtag2"]},{"1349850041":["hashtag1","hashtag2"]},{"1349850035":["hashtag1","hashtag2"]},{"1349850023":["hashtag1","hashtag2"]},{"1349850017":["hashtag1","hashtag2"]},{"1349850026":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349850030, 1349850041, 1349850035, 1349850023, 1349850017, 1349850026)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.34749746322632 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:04:42.642376 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/04/image_15042025_11_04_34_5056.jpg', 2), ('/home/nano/Desktop/images/15042025/11/04/image_15042025_11_04_11_6095.jpg', 2), ('/home/nano/Desktop/images/15042025/11/02/image_15042025_11_02_29_6034.jpg', 2), ('/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_41_5778.jpg', 2), ('/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_35_5698.jpg', 2), ('/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_29_6114.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/04/image_15042025_11_04_34_5056.jpg', '/home/nano/Desktop/images/15042025/11/04/image_15042025_11_04_11_6095.jpg', '/home/nano/Desktop/images/15042025/11/02/image_15042025_11_02_29_6034.jpg', '/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_41_5778.jpg', '/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_35_5698.jpg', '/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_29_6114.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/04/image_15042025_11_04_34_5056.jpg /home/nano/Desktop/images/15042025/11/04/image_15042025_11_04_11_6095.jpg /home/nano/Desktop/images/15042025/11/02/image_15042025_11_02_29_6034.jpg /home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_41_5778.jpg /home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_35_5698.jpg /home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_29_6114.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349850079","1349850099","1349850087","1349850126","1349850105","1349850094"],"photo_ids_order":["1349850079","1349850087","1349850094","1349850099","1349850105","1349850126"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ced1f8507f6818acb599ca627b247011.jpg","text":"TemporaryFile(/tmp/multipartBody6997253258140316727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707944483,"filename":"image_15042025_11_04_34_5056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef41a79c80de271ef41fc5abd07b0a44.jpg","text":"TemporaryFile(/tmp/multipartBody3523516172764107127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707944483,"filename":"image_15042025_07_18_41_5778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bec4eed68aeb25f6c08af8f7c715efd2.jpg","text":"TemporaryFile(/tmp/multipartBody4528414172282952716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707944483,"filename":"image_15042025_11_04_11_6095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75bfdb10a22ed97f5ab1a2dc0ce1e071.jpg","text":"TemporaryFile(/tmp/multipartBody3564684599483947653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707944483,"filename":"image_15042025_07_18_29_6114.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/924831a3f629554b2a5328d195f77412.jpg","text":"TemporaryFile(/tmp/multipartBody2928661605298669775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707944483,"filename":"image_15042025_07_18_35_5698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/61638e4982322775c6df0e2df3259747.jpg","text":"TemporaryFile(/tmp/multipartBody6501530916666505643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707944483,"filename":"image_15042025_11_02_29_6034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349850094","file1":"1349850087","file0":"1349850079","file4":"1349850105","file5":"1349850126","file3":"1349850099"},"map_files_photo_id_array":[{"photo_id":"1349850126","filename":"file5"},{"photo_id":"1349850094","filename":"file2"},{"photo_id":"1349850105","filename":"file4"},{"photo_id":"1349850087","filename":"file1"},{"photo_id":"1349850079","filename":"file0"},{"photo_id":"1349850099","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349850079":["hashtag1","hashtag2"]},{"1349850099":["hashtag1","hashtag2"]},{"1349850087":["hashtag1","hashtag2"]},{"1349850126":["hashtag1","hashtag2"]},{"1349850105":["hashtag1","hashtag2"]},{"1349850094":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349850079, 1349850099, 1349850087, 1349850126, 1349850105, 1349850094)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.873016595840454 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:05:22.766953 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_23_5938.jpg', 2), ('/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_17_5845.jpg', 2), ('/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_11_6750.jpg', 2), ('/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_04_5878.jpg', 2), ('/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_59_6015.jpg', 2), ('/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_53_6096.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_23_5938.jpg', '/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_17_5845.jpg', '/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_11_6750.jpg', '/home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_04_5878.jpg', '/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_59_6015.jpg', '/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_53_6096.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_23_5938.jpg /home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_17_5845.jpg /home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_11_6750.jpg /home/nano/Desktop/images/15042025/07/18/image_15042025_07_18_04_5878.jpg /home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_59_6015.jpg /home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_53_6096.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349850373","1349850352","1349850268","1349850156","1349850318","1349850335"],"photo_ids_order":["1349850156","1349850268","1349850318","1349850335","1349850352","1349850373"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f90d63df70a3b9a6934d22aeac91fad.jpg","text":"TemporaryFile(/tmp/multipartBody2803909456304121975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707984639,"filename":"image_15042025_07_17_53_6096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7ab0e84df7c6ead612ed6a7456bca130.jpg","text":"TemporaryFile(/tmp/multipartBody8834791179883457848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707984639,"filename":"image_15042025_07_17_59_6015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/88c0c9145716e9783a621d467e1b0e89.jpg","text":"TemporaryFile(/tmp/multipartBody8658711152392732726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707984639,"filename":"image_15042025_07_18_17_5845.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/909a7cd39d3153540c2903fc10ee3d2e.jpg","text":"TemporaryFile(/tmp/multipartBody6203978215136926527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707984639,"filename":"image_15042025_07_18_23_5938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/116750275cc682b461423b2e5dfac465.jpg","text":"TemporaryFile(/tmp/multipartBody6377468536623509521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707984639,"filename":"image_15042025_07_18_11_6750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86134387b757d26c8ee567d9214ea906.jpg","text":"TemporaryFile(/tmp/multipartBody856072715464228659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744707984639,"filename":"image_15042025_07_18_04_5878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349850318","file1":"1349850268","file0":"1349850156","file4":"1349850352","file5":"1349850373","file3":"1349850335"},"map_files_photo_id_array":[{"photo_id":"1349850373","filename":"file5"},{"photo_id":"1349850318","filename":"file2"},{"photo_id":"1349850352","filename":"file4"},{"photo_id":"1349850268","filename":"file1"},{"photo_id":"1349850156","filename":"file0"},{"photo_id":"1349850335","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349850373":["hashtag1","hashtag2"]},{"1349850352":["hashtag1","hashtag2"]},{"1349850268":["hashtag1","hashtag2"]},{"1349850156":["hashtag1","hashtag2"]},{"1349850318":["hashtag1","hashtag2"]},{"1349850335":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349850373, 1349850352, 1349850268, 1349850156, 1349850318, 1349850335)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.89570665359497 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:06:02.526115 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_46_5763.jpg', 2), ('/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_41_5849.jpg', 2), ('/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_35_5783.jpg', 2), ('/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_29_5941.jpg', 2), ('/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_17_5898.jpg', 2), ('/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_11_5785.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_46_5763.jpg', '/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_41_5849.jpg', '/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_35_5783.jpg', '/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_29_5941.jpg', '/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_17_5898.jpg', '/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_11_5785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_46_5763.jpg /home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_41_5849.jpg /home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_35_5783.jpg /home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_29_5941.jpg /home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_17_5898.jpg /home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_11_5785.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349850768","1349850660","1349850717","1349850702","1349850887","1349850632"],"photo_ids_order":["1349850632","1349850660","1349850702","1349850717","1349850768","1349850887"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4cfb11b93b323d538975f64ec52844d.jpg","text":"TemporaryFile(/tmp/multipartBody441974830179623188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708024384,"filename":"image_15042025_07_17_17_5898.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b790a641ad6bf6a199d7b30c99e3de62.jpg","text":"TemporaryFile(/tmp/multipartBody6391989608468834242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708024384,"filename":"image_15042025_07_17_41_5849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0b820425ea186e07071a674ef5122c2c.jpg","text":"TemporaryFile(/tmp/multipartBody8252001325052631591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708024384,"filename":"image_15042025_07_17_29_5941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e28e39fc0d16a71f24b952eb738c8a0.jpg","text":"TemporaryFile(/tmp/multipartBody1600807393751469004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708024384,"filename":"image_15042025_07_17_35_5783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd5ac8cd311ad21f41ea8b22c0e4a5ec.jpg","text":"TemporaryFile(/tmp/multipartBody6908390686151990907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708024384,"filename":"image_15042025_07_17_11_5785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a4067eea405729c13be67989be280b16.jpg","text":"TemporaryFile(/tmp/multipartBody3056118875486190968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708024384,"filename":"image_15042025_07_17_46_5763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349850702","file1":"1349850660","file0":"1349850632","file4":"1349850768","file5":"1349850887","file3":"1349850717"},"map_files_photo_id_array":[{"photo_id":"1349850887","filename":"file5"},{"photo_id":"1349850702","filename":"file2"},{"photo_id":"1349850768","filename":"file4"},{"photo_id":"1349850660","filename":"file1"},{"photo_id":"1349850632","filename":"file0"},{"photo_id":"1349850717","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349850768":["hashtag1","hashtag2"]},{"1349850660":["hashtag1","hashtag2"]},{"1349850717":["hashtag1","hashtag2"]},{"1349850702":["hashtag1","hashtag2"]},{"1349850887":["hashtag1","hashtag2"]},{"1349850632":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349850768, 1349850660, 1349850717, 1349850702, 1349850887, 1349850632)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.0079185962677 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:06:41.927729 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_05_6756.jpg', 2), ('/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_59_5943.jpg', 2), ('/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_53_5974.jpg', 2), ('/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_47_5961.jpg', 2), ('/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_41_5737.jpg', 2), ('/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_35_5811.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_05_6756.jpg', '/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_59_5943.jpg', '/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_53_5974.jpg', '/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_47_5961.jpg', '/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_41_5737.jpg', '/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_35_5811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/17/image_15042025_07_17_05_6756.jpg /home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_59_5943.jpg /home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_53_5974.jpg /home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_47_5961.jpg /home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_41_5737.jpg /home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_35_5811.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349851018","1349851132","1349851119","1349851073","1349851106","1349851049"],"photo_ids_order":["1349851018","1349851049","1349851073","1349851106","1349851119","1349851132"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/56e61892ce5610955cee0346af77e4c1.jpg","text":"TemporaryFile(/tmp/multipartBody3999170262253660161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708063763,"filename":"image_15042025_07_17_05_6756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa7c6405873c03eecfc26ca4dd862d19.jpg","text":"TemporaryFile(/tmp/multipartBody242472842083501125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708063763,"filename":"image_15042025_07_16_35_5811.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e9669ad37cf7e98d57cafaaa2d341b6c.jpg","text":"TemporaryFile(/tmp/multipartBody4754286573760939824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708063763,"filename":"image_15042025_07_16_41_5737.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/418939c6b8dc41362950dff2af507398.jpg","text":"TemporaryFile(/tmp/multipartBody8560832851721747452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708063763,"filename":"image_15042025_07_16_53_5974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/08e67b18551fb3441ff31fd100a275d3.jpg","text":"TemporaryFile(/tmp/multipartBody1081728165622809022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708063763,"filename":"image_15042025_07_16_47_5961.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e319a3e1ddefd0d798383aeb171b29b7.jpg","text":"TemporaryFile(/tmp/multipartBody4529446986828616388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708063763,"filename":"image_15042025_07_16_59_5943.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349851073","file1":"1349851049","file0":"1349851018","file4":"1349851119","file5":"1349851132","file3":"1349851106"},"map_files_photo_id_array":[{"photo_id":"1349851132","filename":"file5"},{"photo_id":"1349851073","filename":"file2"},{"photo_id":"1349851119","filename":"file4"},{"photo_id":"1349851049","filename":"file1"},{"photo_id":"1349851018","filename":"file0"},{"photo_id":"1349851106","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349851018":["hashtag1","hashtag2"]},{"1349851132":["hashtag1","hashtag2"]},{"1349851119":["hashtag1","hashtag2"]},{"1349851073":["hashtag1","hashtag2"]},{"1349851106":["hashtag1","hashtag2"]},{"1349851049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349851018, 1349851132, 1349851119, 1349851073, 1349851106, 1349851049)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.03760623931885 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:07:22.083392 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_29_6794.jpg', 2), ('/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_22_5740.jpg', 2), ('/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_17_5957.jpg', 2), ('/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_05_5951.jpg', 2), ('/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_59_5797.jpg', 2), ('/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_53_5787.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_29_6794.jpg', '/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_22_5740.jpg', '/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_17_5957.jpg', '/home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_05_5951.jpg', '/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_59_5797.jpg', '/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_53_5787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_29_6794.jpg /home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_22_5740.jpg /home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_17_5957.jpg /home/nano/Desktop/images/15042025/07/16/image_15042025_07_16_05_5951.jpg /home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_59_5797.jpg /home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_53_5787.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349851219","1349851213","1349851227","1349851268","1349851235","1349851261"],"photo_ids_order":["1349851213","1349851219","1349851227","1349851235","1349851261","1349851268"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eeb61caeadb71893436a4410d13edd7b.jpg","text":"TemporaryFile(/tmp/multipartBody5013806729523430185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708103923,"filename":"image_15042025_07_16_22_5740.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2e7b308de407aa25b67060d12b9227d4.jpg","text":"TemporaryFile(/tmp/multipartBody312211195004055421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708103923,"filename":"image_15042025_07_16_29_6794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dfad17c60a0ba6174086b8b77ff96f90.jpg","text":"TemporaryFile(/tmp/multipartBody746084893546039026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708103923,"filename":"image_15042025_07_16_17_5957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f24006dc90b2bc0474017cb04a43b20.jpg","text":"TemporaryFile(/tmp/multipartBody3528035851356259970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708103923,"filename":"image_15042025_07_15_53_5787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d6a8086c9d6987ca94107aa637511722.jpg","text":"TemporaryFile(/tmp/multipartBody7522221008086192617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708103923,"filename":"image_15042025_07_16_05_5951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/470fac61b804b06f3e49b25ff58bd401.jpg","text":"TemporaryFile(/tmp/multipartBody9082541214000638035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708103923,"filename":"image_15042025_07_15_59_5797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349851227","file1":"1349851219","file0":"1349851213","file4":"1349851261","file5":"1349851268","file3":"1349851235"},"map_files_photo_id_array":[{"photo_id":"1349851268","filename":"file5"},{"photo_id":"1349851227","filename":"file2"},{"photo_id":"1349851261","filename":"file4"},{"photo_id":"1349851219","filename":"file1"},{"photo_id":"1349851213","filename":"file0"},{"photo_id":"1349851235","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349851219":["hashtag1","hashtag2"]},{"1349851213":["hashtag1","hashtag2"]},{"1349851227":["hashtag1","hashtag2"]},{"1349851268":["hashtag1","hashtag2"]},{"1349851235":["hashtag1","hashtag2"]},{"1349851261":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349851219, 1349851213, 1349851227, 1349851268, 1349851235, 1349851261)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.21830105781555 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:08:02.769626 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_47_6809.jpg', 2), ('/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_35_6835.jpg', 2), ('/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_29_5818.jpg', 2), ('/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_23_5760.jpg', 2), ('/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_17_5811.jpg', 2), ('/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_11_5788.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_47_6809.jpg', '/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_35_6835.jpg', '/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_29_5818.jpg', '/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_23_5760.jpg', '/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_17_5811.jpg', '/home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_11_5788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_47_6809.jpg /home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_35_6835.jpg /home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_29_5818.jpg /home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_23_5760.jpg /home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_17_5811.jpg /home/nano/Desktop/images/15042025/07/15/image_15042025_07_15_11_5788.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349851435","1349851467","1349851461","1349851455","1349851449","1349851442"],"photo_ids_order":["1349851435","1349851442","1349851449","1349851455","1349851461","1349851467"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ea9d1c0b1964090a426a6387ff126c61.jpg","text":"TemporaryFile(/tmp/multipartBody4699432322501523920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708144604,"filename":"image_15042025_07_15_47_6809.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/020ae3e5986aa4fdad0cb2352c36316d.jpg","text":"TemporaryFile(/tmp/multipartBody2332121246873992075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708144604,"filename":"image_15042025_07_15_11_5788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15658027745f1c37d0c0d35a08de266e.jpg","text":"TemporaryFile(/tmp/multipartBody5167509285904392132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708144604,"filename":"image_15042025_07_15_17_5811.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b3aa98c5693c8a02e5dad908d1f5724.jpg","text":"TemporaryFile(/tmp/multipartBody1673874971711861046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708144604,"filename":"image_15042025_07_15_23_5760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/370103e7a23ba9364a4c0fad9e3171eb.jpg","text":"TemporaryFile(/tmp/multipartBody2117956762477555404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708144604,"filename":"image_15042025_07_15_29_5818.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/261ff586ae648c1d217a3754d55e543e.jpg","text":"TemporaryFile(/tmp/multipartBody1989215486810007899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708144604,"filename":"image_15042025_07_15_35_6835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349851449","file1":"1349851442","file0":"1349851435","file4":"1349851461","file5":"1349851467","file3":"1349851455"},"map_files_photo_id_array":[{"photo_id":"1349851467","filename":"file5"},{"photo_id":"1349851449","filename":"file2"},{"photo_id":"1349851461","filename":"file4"},{"photo_id":"1349851442","filename":"file1"},{"photo_id":"1349851435","filename":"file0"},{"photo_id":"1349851455","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349851435":["hashtag1","hashtag2"]},{"1349851467":["hashtag1","hashtag2"]},{"1349851461":["hashtag1","hashtag2"]},{"1349851455":["hashtag1","hashtag2"]},{"1349851449":["hashtag1","hashtag2"]},{"1349851442":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349851435, 1349851467, 1349851461, 1349851455, 1349851449, 1349851442)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.4061861038208 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:08:42.240216 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/08/image_15042025_11_08_59_6015.jpg', 2), ('/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_59_5802.jpg', 2), ('/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_53_6757.jpg', 2), ('/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_47_5770.jpg', 2), ('/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_41_6123.jpg', 2), ('/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_35_6027.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/08/image_15042025_11_08_59_6015.jpg', '/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_59_5802.jpg', '/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_53_6757.jpg', '/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_47_5770.jpg', '/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_41_6123.jpg', '/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_35_6027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/08/image_15042025_11_08_59_6015.jpg /home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_59_5802.jpg /home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_53_6757.jpg /home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_47_5770.jpg /home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_41_6123.jpg /home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_35_6027.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349851825","1349851746","1349851710","1349851664","1349851780","1349851630"],"photo_ids_order":["1349851630","1349851664","1349851710","1349851746","1349851780","1349851825"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/534cac3f8ebbd97d3947b910b95a6dc5.jpg","text":"TemporaryFile(/tmp/multipartBody9028670000777835950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708184088,"filename":"image_15042025_07_14_35_6027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97407ce545846e9db710a07f919a9801.jpg","text":"TemporaryFile(/tmp/multipartBody804625319190101597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708184088,"filename":"image_15042025_07_14_47_5770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2b68191100a50e56858187dc7f667e0.jpg","text":"TemporaryFile(/tmp/multipartBody3096742234281482219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708184088,"filename":"image_15042025_07_14_53_6757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab32b72526acfff33965a1a4af915c6a.jpg","text":"TemporaryFile(/tmp/multipartBody4790610815478037748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708184088,"filename":"image_15042025_07_14_59_5802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/816e39a8fc212dd583d350931bdc51f2.jpg","text":"TemporaryFile(/tmp/multipartBody3365363002293876172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708184088,"filename":"image_15042025_07_14_41_6123.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e97906355dc4500d946a47ba4de2f43.jpg","text":"TemporaryFile(/tmp/multipartBody2951693408036886375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708184088,"filename":"image_15042025_11_08_59_6015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349851710","file1":"1349851664","file0":"1349851630","file4":"1349851780","file5":"1349851825","file3":"1349851746"},"map_files_photo_id_array":[{"photo_id":"1349851825","filename":"file5"},{"photo_id":"1349851710","filename":"file2"},{"photo_id":"1349851780","filename":"file4"},{"photo_id":"1349851664","filename":"file1"},{"photo_id":"1349851630","filename":"file0"},{"photo_id":"1349851746","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349851825":["hashtag1","hashtag2"]},{"1349851746":["hashtag1","hashtag2"]},{"1349851710":["hashtag1","hashtag2"]},{"1349851664":["hashtag1","hashtag2"]},{"1349851780":["hashtag1","hashtag2"]},{"1349851630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349851825, 1349851746, 1349851710, 1349851664, 1349851780, 1349851630)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.07556390762329 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:09:22.361192 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/04/image_15042025_11_04_53_6070.jpg', 2), ('/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_29_5743.jpg', 2), ('/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_23_5737.jpg', 2), ('/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_17_6727.jpg', 2), ('/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_11_5740.jpg', 2), ('/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_05_5763.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/04/image_15042025_11_04_53_6070.jpg', '/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_29_5743.jpg', '/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_23_5737.jpg', '/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_17_6727.jpg', '/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_11_5740.jpg', '/home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_05_5763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/04/image_15042025_11_04_53_6070.jpg /home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_29_5743.jpg /home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_23_5737.jpg /home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_17_6727.jpg /home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_11_5740.jpg /home/nano/Desktop/images/15042025/07/14/image_15042025_07_14_05_5763.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349852268","1349852198","1349852100","1349852228","1349852144","1349852062"],"photo_ids_order":["1349852062","1349852100","1349852144","1349852198","1349852228","1349852268"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9664f0cc41359550c9d84306f95541b4.jpg","text":"TemporaryFile(/tmp/multipartBody8126992154818427900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708224177,"filename":"image_15042025_07_14_05_5763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb3d46e92666c7719c58612111111046.jpg","text":"TemporaryFile(/tmp/multipartBody244586909152510034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708224177,"filename":"image_15042025_07_14_17_6727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c94bdcb9096ac473f216f2ae03d960a.jpg","text":"TemporaryFile(/tmp/multipartBody8307106793576576839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708224177,"filename":"image_15042025_07_14_29_5743.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/81d9d9c4c29a94558a40a84cc1740c1b.jpg","text":"TemporaryFile(/tmp/multipartBody8723695297027244473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708224177,"filename":"image_15042025_07_14_11_5740.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2805baec942fe71adf130474abf5a2e.jpg","text":"TemporaryFile(/tmp/multipartBody2589856749001713333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708224177,"filename":"image_15042025_07_14_23_5737.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cbac5bf44d0c3c88b91ade703ab96b3f.jpg","text":"TemporaryFile(/tmp/multipartBody7117922010610090662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708224177,"filename":"image_15042025_11_04_53_6070.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349852144","file1":"1349852100","file0":"1349852062","file4":"1349852228","file5":"1349852268","file3":"1349852198"},"map_files_photo_id_array":[{"photo_id":"1349852268","filename":"file5"},{"photo_id":"1349852144","filename":"file2"},{"photo_id":"1349852228","filename":"file4"},{"photo_id":"1349852100","filename":"file1"},{"photo_id":"1349852062","filename":"file0"},{"photo_id":"1349852198","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349852268":["hashtag1","hashtag2"]},{"1349852198":["hashtag1","hashtag2"]},{"1349852100":["hashtag1","hashtag2"]},{"1349852228":["hashtag1","hashtag2"]},{"1349852144":["hashtag1","hashtag2"]},{"1349852062":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349852268, 1349852198, 1349852100, 1349852228, 1349852144, 1349852062)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.667042016983032 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:10:03.085304 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/13/image_15042025_07_13_59_5618.jpg', 2), ('/home/nano/Desktop/images/15042025/07/13/image_15042025_07_13_53_6625.jpg', 2), ('/home/nano/Desktop/images/15042025/07/13/image_15042025_07_13_41_6693.jpg', 2), ('/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_47_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_41_6604.jpg', 2), ('/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_35_5633.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/13/image_15042025_07_13_59_5618.jpg', '/home/nano/Desktop/images/15042025/07/13/image_15042025_07_13_53_6625.jpg', '/home/nano/Desktop/images/15042025/07/13/image_15042025_07_13_41_6693.jpg', '/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_47_5621.jpg', '/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_41_6604.jpg', '/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_35_5633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/13/image_15042025_07_13_59_5618.jpg /home/nano/Desktop/images/15042025/07/13/image_15042025_07_13_53_6625.jpg /home/nano/Desktop/images/15042025/07/13/image_15042025_07_13_41_6693.jpg /home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_47_5621.jpg /home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_41_6604.jpg /home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_35_5633.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349852559","1349852387","1349852624","1349852392","1349852496","1349852434"],"photo_ids_order":["1349852387","1349852392","1349852434","1349852496","1349852559","1349852624"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e525c1db61ca4db25c2c8170e3d987e2.jpg","text":"TemporaryFile(/tmp/multipartBody5139237582863742326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708264832,"filename":"image_15042025_07_12_41_6604.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6234011d6bc0bd12022975a81029e0b7.jpg","text":"TemporaryFile(/tmp/multipartBody1003262717971125960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708264832,"filename":"image_15042025_07_13_59_5618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7133c6c9d2c65075167c5b27ab74ceb0.jpg","text":"TemporaryFile(/tmp/multipartBody5361391516689022988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708264832,"filename":"image_15042025_07_12_35_5633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9406797e5a953ea869c00a6fba56c073.jpg","text":"TemporaryFile(/tmp/multipartBody770074067232021425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708264832,"filename":"image_15042025_07_13_53_6625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7030ff6cd8f7378e69b8ec74c1038cd4.jpg","text":"TemporaryFile(/tmp/multipartBody2514855487675929028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708264832,"filename":"image_15042025_07_12_47_5621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4d57f4ac077eb93bc5d3fab79e6fb9d3.jpg","text":"TemporaryFile(/tmp/multipartBody9158786629772278446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708264832,"filename":"image_15042025_07_13_41_6693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349852434","file1":"1349852392","file0":"1349852387","file4":"1349852559","file5":"1349852624","file3":"1349852496"},"map_files_photo_id_array":[{"photo_id":"1349852624","filename":"file5"},{"photo_id":"1349852434","filename":"file2"},{"photo_id":"1349852559","filename":"file4"},{"photo_id":"1349852392","filename":"file1"},{"photo_id":"1349852387","filename":"file0"},{"photo_id":"1349852496","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349852559":["hashtag1","hashtag2"]},{"1349852387":["hashtag1","hashtag2"]},{"1349852624":["hashtag1","hashtag2"]},{"1349852392":["hashtag1","hashtag2"]},{"1349852496":["hashtag1","hashtag2"]},{"1349852434":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349852559, 1349852387, 1349852624, 1349852392, 1349852496, 1349852434)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.71821618080139 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:10:42.470896 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_29_5686.jpg', 2), ('/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_23_6647.jpg', 2), ('/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_17_5650.jpg', 2), ('/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_11_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_05_6612.jpg', 2), ('/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_59_5686.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_29_5686.jpg', '/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_23_6647.jpg', '/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_17_5650.jpg', '/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_11_5640.jpg', '/home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_05_6612.jpg', '/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_59_5686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_29_5686.jpg /home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_23_6647.jpg /home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_17_5650.jpg /home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_11_5640.jpg /home/nano/Desktop/images/15042025/07/12/image_15042025_07_12_05_6612.jpg /home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_59_5686.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349852670","1349852730","1349852700","1349852765","1349852795","1349852676"],"photo_ids_order":["1349852670","1349852676","1349852700","1349852730","1349852765","1349852795"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/697cd0787750ff03ff2f49cf003317fb.jpg","text":"TemporaryFile(/tmp/multipartBody7316095640175236352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708304195,"filename":"image_15042025_07_12_29_5686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee81138df20dd4dd27f67e33e146f94b.jpg","text":"TemporaryFile(/tmp/multipartBody3137461108215642190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708304195,"filename":"image_15042025_07_12_11_5640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0188caac548f5620676458355e6c58e.jpg","text":"TemporaryFile(/tmp/multipartBody6877370273135650665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708304195,"filename":"image_15042025_07_12_17_5650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69a8b13eed4e9499268f7e8d25d55213.jpg","text":"TemporaryFile(/tmp/multipartBody4779725860859776294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708304195,"filename":"image_15042025_07_12_05_6612.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb99d707ca1c077edf533785e2157676.jpg","text":"TemporaryFile(/tmp/multipartBody2141044253533084178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708304195,"filename":"image_15042025_07_11_59_5686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d3dd02902bbfc142f1b24a1a5c7a2d9b.jpg","text":"TemporaryFile(/tmp/multipartBody1177966621368330716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708304195,"filename":"image_15042025_07_12_23_6647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349852700","file1":"1349852676","file0":"1349852670","file4":"1349852765","file5":"1349852795","file3":"1349852730"},"map_files_photo_id_array":[{"photo_id":"1349852795","filename":"file5"},{"photo_id":"1349852700","filename":"file2"},{"photo_id":"1349852765","filename":"file4"},{"photo_id":"1349852676","filename":"file1"},{"photo_id":"1349852670","filename":"file0"},{"photo_id":"1349852730","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349852670":["hashtag1","hashtag2"]},{"1349852730":["hashtag1","hashtag2"]},{"1349852700":["hashtag1","hashtag2"]},{"1349852765":["hashtag1","hashtag2"]},{"1349852795":["hashtag1","hashtag2"]},{"1349852676":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349852670, 1349852730, 1349852700, 1349852765, 1349852795, 1349852676)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.15440797805786 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:11:22.575875 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_53_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_47_6696.jpg', 2), ('/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_41_5664.jpg', 2), ('/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_35_5675.jpg', 2), ('/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_29_6687.jpg', 2), ('/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_23_5679.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_53_5646.jpg', '/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_47_6696.jpg', '/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_41_5664.jpg', '/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_35_5675.jpg', '/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_29_6687.jpg', '/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_23_5679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_53_5646.jpg /home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_47_6696.jpg /home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_41_5664.jpg /home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_35_5675.jpg /home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_29_6687.jpg /home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_23_5679.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349852865","1349852852","1349852858","1349852839","1349852836","1349852874"],"photo_ids_order":["1349852836","1349852839","1349852852","1349852858","1349852865","1349852874"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/817228414a720d2d95d9b6251deb6552.jpg","text":"TemporaryFile(/tmp/multipartBody5507892318759414674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708344342,"filename":"image_15042025_07_11_29_6687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75e8cd24b95bc626edcf44d9faeffef2.jpg","text":"TemporaryFile(/tmp/multipartBody1243621969279976417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708344342,"filename":"image_15042025_07_11_41_5664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/862a2849796e2cb0543dd81ed77b7925.jpg","text":"TemporaryFile(/tmp/multipartBody625677298173177407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708344342,"filename":"image_15042025_07_11_35_5675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f3ccdcc46a5894f0fde46ef87aed734.jpg","text":"TemporaryFile(/tmp/multipartBody3865562525594023647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708344342,"filename":"image_15042025_07_11_47_6696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ca0c2068fb1bc584bd55cee532c2f1a.jpg","text":"TemporaryFile(/tmp/multipartBody8477007800767879609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708344342,"filename":"image_15042025_07_11_53_5646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ad95eea76c8ca1a6f492bcdc639645d.jpg","text":"TemporaryFile(/tmp/multipartBody6033422482505290740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708344342,"filename":"image_15042025_07_11_23_5679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349852852","file1":"1349852839","file0":"1349852836","file4":"1349852865","file5":"1349852874","file3":"1349852858"},"map_files_photo_id_array":[{"photo_id":"1349852874","filename":"file5"},{"photo_id":"1349852852","filename":"file2"},{"photo_id":"1349852865","filename":"file4"},{"photo_id":"1349852839","filename":"file1"},{"photo_id":"1349852836","filename":"file0"},{"photo_id":"1349852858","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349852865":["hashtag1","hashtag2"]},{"1349852852":["hashtag1","hashtag2"]},{"1349852858":["hashtag1","hashtag2"]},{"1349852839":["hashtag1","hashtag2"]},{"1349852836":["hashtag1","hashtag2"]},{"1349852874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349852865, 1349852852, 1349852858, 1349852839, 1349852836, 1349852874)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.87731218338013 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:12:03.313439 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_17_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_11_6666.jpg', 2), ('/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_05_5632.jpg', 2), ('/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_59_5663.jpg', 2), ('/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_53_6679.jpg', 2), ('/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_47_5653.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_17_5654.jpg', '/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_11_6666.jpg', '/home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_05_5632.jpg', '/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_59_5663.jpg', '/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_53_6679.jpg', '/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_47_5653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_17_5654.jpg /home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_11_6666.jpg /home/nano/Desktop/images/15042025/07/11/image_15042025_07_11_05_5632.jpg /home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_59_5663.jpg /home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_53_6679.jpg /home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_47_5653.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349852937","1349852922","1349852915","1349852909","1349852929","1349852905"],"photo_ids_order":["1349852905","1349852909","1349852915","1349852922","1349852929","1349852937"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b5595cd18769893c358f0317e2b703e6.jpg","text":"TemporaryFile(/tmp/multipartBody9123816511140648522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708385076,"filename":"image_15042025_07_10_47_5653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b872a9eebd92d8589f7ab7dfcb26cdbf.jpg","text":"TemporaryFile(/tmp/multipartBody240369108195696322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708385076,"filename":"image_15042025_07_10_59_5663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa062a6587a36674d24a3484830ff4ab.jpg","text":"TemporaryFile(/tmp/multipartBody7900022910353242673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708385076,"filename":"image_15042025_07_11_05_5632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b67ace2b49218fac918739c822e24a2b.jpg","text":"TemporaryFile(/tmp/multipartBody969151273034067943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708385076,"filename":"image_15042025_07_11_11_6666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e0bca1e212d1dd4dddfe49042eda8bb9.jpg","text":"TemporaryFile(/tmp/multipartBody1481556956980829307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708385076,"filename":"image_15042025_07_10_53_6679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/35cc647fa53a12e2bb34d755fd0397b2.jpg","text":"TemporaryFile(/tmp/multipartBody2995087368235995412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708385076,"filename":"image_15042025_07_11_17_5654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349852915","file1":"1349852909","file0":"1349852905","file4":"1349852929","file5":"1349852937","file3":"1349852922"},"map_files_photo_id_array":[{"photo_id":"1349852937","filename":"file5"},{"photo_id":"1349852915","filename":"file2"},{"photo_id":"1349852929","filename":"file4"},{"photo_id":"1349852909","filename":"file1"},{"photo_id":"1349852905","filename":"file0"},{"photo_id":"1349852922","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349852937":["hashtag1","hashtag2"]},{"1349852922":["hashtag1","hashtag2"]},{"1349852915":["hashtag1","hashtag2"]},{"1349852909":["hashtag1","hashtag2"]},{"1349852929":["hashtag1","hashtag2"]},{"1349852905":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349852937, 1349852922, 1349852915, 1349852909, 1349852929, 1349852905)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.6758816242218 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:12:42.736294 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_41_5850.jpg', 2), ('/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_35_6684.jpg', 2), ('/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_28_5627.jpg', 2), ('/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_23_5685.jpg', 2), ('/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_17_6679.jpg', 2), ('/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_10_5733.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_41_5850.jpg', '/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_35_6684.jpg', '/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_28_5627.jpg', '/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_23_5685.jpg', '/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_17_6679.jpg', '/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_10_5733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_41_5850.jpg /home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_35_6684.jpg /home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_28_5627.jpg /home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_23_5685.jpg /home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_17_6679.jpg /home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_10_5733.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349852976","1349852981","1349852966","1349852992","1349852971","1349852985"],"photo_ids_order":["1349852966","1349852971","1349852976","1349852981","1349852985","1349852992"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ba43157d6c7880a987dfe8d23713066.jpg","text":"TemporaryFile(/tmp/multipartBody853100059991914652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708424555,"filename":"image_15042025_07_10_28_5627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dcea10c930e409c783b0b577a2c330ff.jpg","text":"TemporaryFile(/tmp/multipartBody8125586304606214042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708424555,"filename":"image_15042025_07_10_23_5685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf50e2efc724d59312417f69b2cf8539.jpg","text":"TemporaryFile(/tmp/multipartBody7383744316657990070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708424555,"filename":"image_15042025_07_10_41_5850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/caf0431604f480aa3aac94be51f9f2de.jpg","text":"TemporaryFile(/tmp/multipartBody3023618768113946150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708424555,"filename":"image_15042025_07_10_10_5733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fce4de167fcbd6046f3c43b420a5f97e.jpg","text":"TemporaryFile(/tmp/multipartBody3905622812597219045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708424555,"filename":"image_15042025_07_10_35_6684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c982309216ec868aad1337a29abf8714.jpg","text":"TemporaryFile(/tmp/multipartBody4556912699403614190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708424555,"filename":"image_15042025_07_10_17_6679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349852976","file1":"1349852971","file0":"1349852966","file4":"1349852985","file5":"1349852992","file3":"1349852981"},"map_files_photo_id_array":[{"photo_id":"1349852992","filename":"file5"},{"photo_id":"1349852976","filename":"file2"},{"photo_id":"1349852985","filename":"file4"},{"photo_id":"1349852971","filename":"file1"},{"photo_id":"1349852966","filename":"file0"},{"photo_id":"1349852981","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349852976":["hashtag1","hashtag2"]},{"1349852981":["hashtag1","hashtag2"]},{"1349852966":["hashtag1","hashtag2"]},{"1349852992":["hashtag1","hashtag2"]},{"1349852971":["hashtag1","hashtag2"]},{"1349852985":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349852976, 1349852981, 1349852966, 1349852992, 1349852971, 1349852985)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.0681574344635 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:13:21.847325 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/13/image_15042025_11_13_59_6120.jpg', 2), ('/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_05_5702.jpg', 2), ('/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_59_5643.jpg', 2), ('/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_53_6682.jpg', 2), ('/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_47_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_41_5645.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/13/image_15042025_11_13_59_6120.jpg', '/home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_05_5702.jpg', '/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_59_5643.jpg', '/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_53_6682.jpg', '/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_47_5621.jpg', '/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_41_5645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/13/image_15042025_11_13_59_6120.jpg /home/nano/Desktop/images/15042025/07/10/image_15042025_07_10_05_5702.jpg /home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_59_5643.jpg /home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_53_6682.jpg /home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_47_5621.jpg /home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_41_5645.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349853077","1349853047","1349853041","1349853037","1349853106","1349853069"],"photo_ids_order":["1349853037","1349853041","1349853047","1349853069","1349853077","1349853106"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8f0e6a6e2a20886f745384fa3dd1760b.jpg","text":"TemporaryFile(/tmp/multipartBody1361928481503620455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708463614,"filename":"image_15042025_07_09_47_5621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b077572971aa01865eaa65b4476310e9.jpg","text":"TemporaryFile(/tmp/multipartBody1284455812220894424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708463614,"filename":"image_15042025_07_09_59_5643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e687dd74898d28de8e256ffc2dd34ddc.jpg","text":"TemporaryFile(/tmp/multipartBody5051982539256997810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708463614,"filename":"image_15042025_07_10_05_5702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c6aec610769345dd7fd085c3ed53983.jpg","text":"TemporaryFile(/tmp/multipartBody8481819120817987349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708463614,"filename":"image_15042025_11_13_59_6120.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39ed45956cc3d178478195aeb3e3196c.jpg","text":"TemporaryFile(/tmp/multipartBody7150777191951152612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708463614,"filename":"image_15042025_07_09_41_5645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cfa1b25d559e6db13ec69a836449bafd.jpg","text":"TemporaryFile(/tmp/multipartBody43167103312021677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708463614,"filename":"image_15042025_07_09_53_6682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853047","file1":"1349853041","file0":"1349853037","file4":"1349853077","file5":"1349853106","file3":"1349853069"},"map_files_photo_id_array":[{"photo_id":"1349853106","filename":"file5"},{"photo_id":"1349853047","filename":"file2"},{"photo_id":"1349853077","filename":"file4"},{"photo_id":"1349853041","filename":"file1"},{"photo_id":"1349853037","filename":"file0"},{"photo_id":"1349853069","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349853077":["hashtag1","hashtag2"]},{"1349853047":["hashtag1","hashtag2"]},{"1349853041":["hashtag1","hashtag2"]},{"1349853037":["hashtag1","hashtag2"]},{"1349853106":["hashtag1","hashtag2"]},{"1349853069":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349853077, 1349853047, 1349853041, 1349853037, 1349853106, 1349853069)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.332094430923462 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:14:02.976133 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_35_6667.jpg', 2), ('/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_29_5718.jpg', 2), ('/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_23_5681.jpg', 2), ('/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_17_6674.jpg', 2), ('/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_11_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_05_5650.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_35_6667.jpg', '/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_29_5718.jpg', '/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_23_5681.jpg', '/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_17_6674.jpg', '/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_11_5656.jpg', '/home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_05_5650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_35_6667.jpg /home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_29_5718.jpg /home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_23_5681.jpg /home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_17_6674.jpg /home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_11_5656.jpg /home/nano/Desktop/images/15042025/07/09/image_15042025_07_09_05_5650.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349853185","1349853179","1349853164","1349853233","1349853175","1349853171"],"photo_ids_order":["1349853164","1349853171","1349853175","1349853179","1349853185","1349853233"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5cf881d5cc30235789260764816bc246.jpg","text":"TemporaryFile(/tmp/multipartBody4691646061445084286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708504739,"filename":"image_15042025_07_09_11_5656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2a5c6fa98893b8ff8c5ceb711b5138bb.jpg","text":"TemporaryFile(/tmp/multipartBody3164439091442052781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708504739,"filename":"image_15042025_07_09_17_6674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b427784d652b70b38e917b10b245b335.jpg","text":"TemporaryFile(/tmp/multipartBody525563331235466345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708504739,"filename":"image_15042025_07_09_35_6667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce65f4fa987a2b136119b948ecf4a3c5.jpg","text":"TemporaryFile(/tmp/multipartBody5962495231477476117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708504739,"filename":"image_15042025_07_09_05_5650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9638e243bdaae40e36e18542dc80e6b9.jpg","text":"TemporaryFile(/tmp/multipartBody8944257406262534604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708504739,"filename":"image_15042025_07_09_23_5681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32f7c0a149eada56e491727c9e945f76.jpg","text":"TemporaryFile(/tmp/multipartBody2537293284064867864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708504739,"filename":"image_15042025_07_09_29_5718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853175","file1":"1349853171","file0":"1349853164","file4":"1349853185","file5":"1349853233","file3":"1349853179"},"map_files_photo_id_array":[{"photo_id":"1349853233","filename":"file5"},{"photo_id":"1349853175","filename":"file2"},{"photo_id":"1349853185","filename":"file4"},{"photo_id":"1349853171","filename":"file1"},{"photo_id":"1349853164","filename":"file0"},{"photo_id":"1349853179","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349853185":["hashtag1","hashtag2"]},{"1349853179":["hashtag1","hashtag2"]},{"1349853164":["hashtag1","hashtag2"]},{"1349853233":["hashtag1","hashtag2"]},{"1349853175":["hashtag1","hashtag2"]},{"1349853171":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349853185, 1349853179, 1349853164, 1349853233, 1349853175, 1349853171)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.41399383544922 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:14:42.057753 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_59_6708.jpg', 2), ('/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_53_5671.jpg', 2), ('/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_47_5612.jpg', 2), ('/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_41_6635.jpg', 2), ('/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_35_5612.jpg', 2), ('/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_29_6654.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_59_6708.jpg', '/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_53_5671.jpg', '/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_47_5612.jpg', '/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_41_6635.jpg', '/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_35_5612.jpg', '/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_29_6654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_59_6708.jpg /home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_53_5671.jpg /home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_47_5612.jpg /home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_41_6635.jpg /home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_35_5612.jpg /home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_29_6654.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349853281","1349853271","1349853277","1349853291","1349853285","1349853264"],"photo_ids_order":["1349853264","1349853271","1349853277","1349853281","1349853285","1349853291"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8bc07dac6a9ee9bcf1866ea93b5d31b.jpg","text":"TemporaryFile(/tmp/multipartBody1972619383865795103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708543800,"filename":"image_15042025_07_08_41_6635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a7dda0746bf93caf024482a379b4c202.jpg","text":"TemporaryFile(/tmp/multipartBody5519259671406467852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708543800,"filename":"image_15042025_07_08_53_5671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41fe59d5eca6e97acb53f3161bd20099.jpg","text":"TemporaryFile(/tmp/multipartBody3901192830322487606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708543800,"filename":"image_15042025_07_08_47_5612.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/966c00f32eab66d6b7096ebc8c537ca1.jpg","text":"TemporaryFile(/tmp/multipartBody329308915065080357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708543800,"filename":"image_15042025_07_08_29_6654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8afbf72932b280a33419e618b5889cc6.jpg","text":"TemporaryFile(/tmp/multipartBody3226933869276350182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708543800,"filename":"image_15042025_07_08_35_5612.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1eb6a41063f857ba8621e79ffa4131c0.jpg","text":"TemporaryFile(/tmp/multipartBody3866505790400012003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708543800,"filename":"image_15042025_07_08_59_6708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853277","file1":"1349853271","file0":"1349853264","file4":"1349853285","file5":"1349853291","file3":"1349853281"},"map_files_photo_id_array":[{"photo_id":"1349853291","filename":"file5"},{"photo_id":"1349853277","filename":"file2"},{"photo_id":"1349853285","filename":"file4"},{"photo_id":"1349853271","filename":"file1"},{"photo_id":"1349853264","filename":"file0"},{"photo_id":"1349853281","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349853281":["hashtag1","hashtag2"]},{"1349853271":["hashtag1","hashtag2"]},{"1349853277":["hashtag1","hashtag2"]},{"1349853291":["hashtag1","hashtag2"]},{"1349853285":["hashtag1","hashtag2"]},{"1349853264":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349853281, 1349853271, 1349853277, 1349853291, 1349853285, 1349853264)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.682018756866455 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:15:22.151721 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_22_5603.jpg', 2), ('/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_17_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_11_6643.jpg', 2), ('/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_05_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_59_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_53_6704.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_22_5603.jpg', '/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_17_5626.jpg', '/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_11_6643.jpg', '/home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_05_5646.jpg', '/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_59_5639.jpg', '/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_53_6704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_22_5603.jpg /home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_17_5626.jpg /home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_11_6643.jpg /home/nano/Desktop/images/15042025/07/08/image_15042025_07_08_05_5646.jpg /home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_59_5639.jpg /home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_53_6704.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349853318","1349853323","1349853331","1349853313","1349853345","1349853339"],"photo_ids_order":["1349853313","1349853318","1349853323","1349853331","1349853339","1349853345"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/668ac1e5e2fa69e15075e87c479bca14.jpg","text":"TemporaryFile(/tmp/multipartBody1117133023222278396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708583876,"filename":"image_15042025_07_08_17_5626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4e894a53d84f5e371384ad4d5f94a77.jpg","text":"TemporaryFile(/tmp/multipartBody5260629550289742539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708583876,"filename":"image_15042025_07_08_11_6643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1385fe1501a653e70ca88adfbc4c9ce.jpg","text":"TemporaryFile(/tmp/multipartBody8601799597330854217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708583876,"filename":"image_15042025_07_08_05_5646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2471bf6921b10a81c93536de13743a36.jpg","text":"TemporaryFile(/tmp/multipartBody8986872184407073096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708583876,"filename":"image_15042025_07_08_22_5603.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bafc5167367a75de50fc34335b8d13a6.jpg","text":"TemporaryFile(/tmp/multipartBody8414438119850306347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708583876,"filename":"image_15042025_07_07_53_6704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f409e51189a44b7d73db84442340798c.jpg","text":"TemporaryFile(/tmp/multipartBody6919739089106058722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708583876,"filename":"image_15042025_07_07_59_5639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853323","file1":"1349853318","file0":"1349853313","file4":"1349853339","file5":"1349853345","file3":"1349853331"},"map_files_photo_id_array":[{"photo_id":"1349853345","filename":"file5"},{"photo_id":"1349853323","filename":"file2"},{"photo_id":"1349853339","filename":"file4"},{"photo_id":"1349853318","filename":"file1"},{"photo_id":"1349853313","filename":"file0"},{"photo_id":"1349853331","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349853318":["hashtag1","hashtag2"]},{"1349853323":["hashtag1","hashtag2"]},{"1349853331":["hashtag1","hashtag2"]},{"1349853313":["hashtag1","hashtag2"]},{"1349853345":["hashtag1","hashtag2"]},{"1349853339":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349853318, 1349853323, 1349853331, 1349853313, 1349853345, 1349853339)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.811030387878418 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:16:02.889210 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_47_5613.jpg', 2), ('/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_41_5606.jpg', 2), ('/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_35_6648.jpg', 2), ('/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_29_5623.jpg', 2), ('/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_23_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_11_5653.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_47_5613.jpg', '/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_41_5606.jpg', '/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_35_6648.jpg', '/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_29_5623.jpg', '/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_23_6634.jpg', '/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_11_5653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_47_5613.jpg /home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_41_5606.jpg /home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_35_6648.jpg /home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_29_5623.jpg /home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_23_6634.jpg /home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_11_5653.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349853395","1349853368","1349853391","1349853385","1349853379","1349853373"],"photo_ids_order":["1349853368","1349853373","1349853379","1349853385","1349853391","1349853395"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4088fe95ffe453582a8aefe196ea7f6.jpg","text":"TemporaryFile(/tmp/multipartBody4206265470267185189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708624635,"filename":"image_15042025_07_07_11_5653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b056cab09a83f68d8e8ccc2df0d53501.jpg","text":"TemporaryFile(/tmp/multipartBody7788853181574481698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708624635,"filename":"image_15042025_07_07_47_5613.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bff55f49253ac7939a344944e212128e.jpg","text":"TemporaryFile(/tmp/multipartBody8899252075658980685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708624635,"filename":"image_15042025_07_07_23_6634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/722cbd2beba95f06efd7cef954070645.jpg","text":"TemporaryFile(/tmp/multipartBody3347554220313545816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708624635,"filename":"image_15042025_07_07_29_5623.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14dd00c07ea887b5ac24ef6e4ff65e71.jpg","text":"TemporaryFile(/tmp/multipartBody7937596482014192725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708624635,"filename":"image_15042025_07_07_35_6648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04506f4a99c52eb9a06c8ff19e17f328.jpg","text":"TemporaryFile(/tmp/multipartBody536504457326271435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708624635,"filename":"image_15042025_07_07_41_5606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853379","file1":"1349853373","file0":"1349853368","file4":"1349853391","file5":"1349853395","file3":"1349853385"},"map_files_photo_id_array":[{"photo_id":"1349853395","filename":"file5"},{"photo_id":"1349853379","filename":"file2"},{"photo_id":"1349853391","filename":"file4"},{"photo_id":"1349853373","filename":"file1"},{"photo_id":"1349853368","filename":"file0"},{"photo_id":"1349853385","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349853395":["hashtag1","hashtag2"]},{"1349853368":["hashtag1","hashtag2"]},{"1349853391":["hashtag1","hashtag2"]},{"1349853385":["hashtag1","hashtag2"]},{"1349853379":["hashtag1","hashtag2"]},{"1349853373":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349853395, 1349853368, 1349853391, 1349853385, 1349853379, 1349853373)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.881736040115356 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:16:42.309850 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_05_6648.jpg', 2), ('/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_59_5598.jpg', 2), ('/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_53_5607.jpg', 2), ('/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_47_6653.jpg', 2), ('/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_41_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_35_6653.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_05_6648.jpg', '/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_59_5598.jpg', '/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_53_5607.jpg', '/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_47_6653.jpg', '/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_41_5633.jpg', '/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_35_6653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/07/image_15042025_07_07_05_6648.jpg /home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_59_5598.jpg /home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_53_5607.jpg /home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_47_6653.jpg /home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_41_5633.jpg /home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_35_6653.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349853420","1349853434","1349853490","1349853460","1349853477","1349853447"],"photo_ids_order":["1349853420","1349853434","1349853447","1349853460","1349853477","1349853490"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad841013dc8296a8e5ca3cd6e2ccb88b.jpg","text":"TemporaryFile(/tmp/multipartBody8094169427198109136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708664026,"filename":"image_15042025_07_07_05_6648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/337d609321879276b10fd81be9e75a37.jpg","text":"TemporaryFile(/tmp/multipartBody2945709816457329058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708664026,"filename":"image_15042025_07_06_59_5598.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b5357da5b73c4f2dc30607b1d6e0f078.jpg","text":"TemporaryFile(/tmp/multipartBody7929503759436403766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708664026,"filename":"image_15042025_07_06_35_6653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/036af6f76f6d6073ab1e57c26079441f.jpg","text":"TemporaryFile(/tmp/multipartBody632624317133728383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708664026,"filename":"image_15042025_07_06_47_6653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de9882970e75f69db9c093900abf0ebb.jpg","text":"TemporaryFile(/tmp/multipartBody1162832250202324354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708664026,"filename":"image_15042025_07_06_41_5633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9732af19b4d8f3e43b52d1e70611ea42.jpg","text":"TemporaryFile(/tmp/multipartBody4364031777607292346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708664026,"filename":"image_15042025_07_06_53_5607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853447","file1":"1349853434","file0":"1349853420","file4":"1349853477","file5":"1349853490","file3":"1349853460"},"map_files_photo_id_array":[{"photo_id":"1349853490","filename":"file5"},{"photo_id":"1349853447","filename":"file2"},{"photo_id":"1349853477","filename":"file4"},{"photo_id":"1349853434","filename":"file1"},{"photo_id":"1349853420","filename":"file0"},{"photo_id":"1349853460","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349853420":["hashtag1","hashtag2"]},{"1349853434":["hashtag1","hashtag2"]},{"1349853490":["hashtag1","hashtag2"]},{"1349853460":["hashtag1","hashtag2"]},{"1349853477":["hashtag1","hashtag2"]},{"1349853447":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349853420, 1349853434, 1349853490, 1349853460, 1349853477, 1349853447)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.136877298355103 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:17:22.416363 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_28_5617.jpg', 2), ('/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_23_5650.jpg', 2), ('/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_17_5770.jpg', 2), ('/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_11_6879.jpg', 2), ('/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_05_5810.jpg', 2), ('/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_59_5754.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_28_5617.jpg', '/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_23_5650.jpg', '/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_17_5770.jpg', '/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_11_6879.jpg', '/home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_05_5810.jpg', '/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_59_5754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_28_5617.jpg /home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_23_5650.jpg /home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_17_5770.jpg /home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_11_6879.jpg /home/nano/Desktop/images/15042025/07/06/image_15042025_07_06_05_5810.jpg /home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_59_5754.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349853584","1349853562","1349853571","1349853547","1349853576","1349853555"],"photo_ids_order":["1349853547","1349853555","1349853562","1349853571","1349853576","1349853584"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16191436c88b747bab1af2a1057bc093.jpg","text":"TemporaryFile(/tmp/multipartBody616589667299834612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708704197,"filename":"image_15042025_07_05_59_5754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f0a4630ea4b6ba2805435db3626f6e68.jpg","text":"TemporaryFile(/tmp/multipartBody1915458197972702060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708704197,"filename":"image_15042025_07_06_17_5770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dd7a2fc2410f98d1d2a4856554f07e6a.jpg","text":"TemporaryFile(/tmp/multipartBody1300901178700247059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708704197,"filename":"image_15042025_07_06_11_6879.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2cd1b3c8f28ff262b82feaccafb3443f.jpg","text":"TemporaryFile(/tmp/multipartBody8732698808695415810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708704197,"filename":"image_15042025_07_06_28_5617.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00d5d1ac789cfa4b29eabd10a02fb109.jpg","text":"TemporaryFile(/tmp/multipartBody5522069470489911621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708704197,"filename":"image_15042025_07_06_05_5810.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3542dcb487fae7e58ffb4efd64965676.jpg","text":"TemporaryFile(/tmp/multipartBody1997755503983688684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708704197,"filename":"image_15042025_07_06_23_5650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853562","file1":"1349853555","file0":"1349853547","file4":"1349853576","file5":"1349853584","file3":"1349853571"},"map_files_photo_id_array":[{"photo_id":"1349853584","filename":"file5"},{"photo_id":"1349853562","filename":"file2"},{"photo_id":"1349853576","filename":"file4"},{"photo_id":"1349853555","filename":"file1"},{"photo_id":"1349853547","filename":"file0"},{"photo_id":"1349853571","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349853584":["hashtag1","hashtag2"]},{"1349853562":["hashtag1","hashtag2"]},{"1349853571":["hashtag1","hashtag2"]},{"1349853547":["hashtag1","hashtag2"]},{"1349853576":["hashtag1","hashtag2"]},{"1349853555":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349853584, 1349853562, 1349853571, 1349853547, 1349853576, 1349853555)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.675097227096558 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:18:03.140960 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/18/image_15042025_11_18_59_6100.jpg', 2), ('/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_53_5945.jpg', 2), ('/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_47_5932.jpg', 2), ('/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_35_6059.jpg', 2), ('/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_29_5739.jpg', 2), ('/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_23_6819.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/18/image_15042025_11_18_59_6100.jpg', '/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_53_5945.jpg', '/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_47_5932.jpg', '/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_35_6059.jpg', '/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_29_5739.jpg', '/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_23_6819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/18/image_15042025_11_18_59_6100.jpg /home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_53_5945.jpg /home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_47_5932.jpg /home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_35_6059.jpg /home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_29_5739.jpg /home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_23_6819.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349853674","1349853617","1349853646","1349853622","1349853718","1349853610"],"photo_ids_order":["1349853610","1349853617","1349853622","1349853646","1349853674","1349853718"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/567529bbffef781ee760599833d47433.jpg","text":"TemporaryFile(/tmp/multipartBody4703395492231868195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708745037,"filename":"image_15042025_07_05_29_5739.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ddd613db07898939859070480c5673bc.jpg","text":"TemporaryFile(/tmp/multipartBody4613201437930468910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708745037,"filename":"image_15042025_07_05_53_5945.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7518f9fa3286ba22f9eb51aa9f5f2ab0.jpg","text":"TemporaryFile(/tmp/multipartBody1304811691607532452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708745037,"filename":"image_15042025_07_05_35_6059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/825e18fcaae3ea055283a064f148f9a0.jpg","text":"TemporaryFile(/tmp/multipartBody3471127555643517994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708745037,"filename":"image_15042025_07_05_47_5932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b86325085a4cf52adb76aed5135ae232.jpg","text":"TemporaryFile(/tmp/multipartBody4533202803931485878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708745037,"filename":"image_15042025_07_05_23_6819.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2981398867aa2107454eaec7969d3f5.jpg","text":"TemporaryFile(/tmp/multipartBody6448109998592423559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708745037,"filename":"image_15042025_11_18_59_6100.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853622","file1":"1349853617","file0":"1349853610","file4":"1349853674","file5":"1349853718","file3":"1349853646"},"map_files_photo_id_array":[{"photo_id":"1349853718","filename":"file5"},{"photo_id":"1349853622","filename":"file2"},{"photo_id":"1349853674","filename":"file4"},{"photo_id":"1349853617","filename":"file1"},{"photo_id":"1349853610","filename":"file0"},{"photo_id":"1349853646","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349853674":["hashtag1","hashtag2"]},{"1349853617":["hashtag1","hashtag2"]},{"1349853646":["hashtag1","hashtag2"]},{"1349853622":["hashtag1","hashtag2"]},{"1349853718":["hashtag1","hashtag2"]},{"1349853610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349853674, 1349853617, 1349853646, 1349853622, 1349853718, 1349853610)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.21083068847656 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:18:42.539387 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/09/image_15042025_11_09_05_6034.jpg', 2), ('/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_16_5870.jpg', 2), ('/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_11_5842.jpg', 2), ('/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_05_5866.jpg', 2), ('/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_59_5795.jpg', 2), ('/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_53_5772.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/09/image_15042025_11_09_05_6034.jpg', '/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_16_5870.jpg', '/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_11_5842.jpg', '/home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_05_5866.jpg', '/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_59_5795.jpg', '/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_53_5772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/09/image_15042025_11_09_05_6034.jpg /home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_16_5870.jpg /home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_11_5842.jpg /home/nano/Desktop/images/15042025/07/05/image_15042025_07_05_05_5866.jpg /home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_59_5795.jpg /home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_53_5772.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349853833","1349853809","1349853800","1349853818","1349853793","1349853828"],"photo_ids_order":["1349853793","1349853800","1349853809","1349853818","1349853828","1349853833"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70583057cbd0e27980c069f3b284c9c1.jpg","text":"TemporaryFile(/tmp/multipartBody1307623448827170179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708784374,"filename":"image_15042025_07_04_53_5772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0771d4064b534f6b8930708e4b918076.jpg","text":"TemporaryFile(/tmp/multipartBody1232312528461229750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708784374,"filename":"image_15042025_07_05_11_5842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2a38efec60232df958291834f877fe56.jpg","text":"TemporaryFile(/tmp/multipartBody7886892107265978227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708784374,"filename":"image_15042025_07_05_16_5870.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7985201f3755f01072be7b4b94292d5a.jpg","text":"TemporaryFile(/tmp/multipartBody8626218395781758923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708784374,"filename":"image_15042025_07_05_05_5866.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/021f0349fd313b4bf0ba1b792476fd2f.jpg","text":"TemporaryFile(/tmp/multipartBody7736076959092886268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708784374,"filename":"image_15042025_11_09_05_6034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e32c81e99ce7959760ecf1f60b8a0107.jpg","text":"TemporaryFile(/tmp/multipartBody4372202144483366798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708784374,"filename":"image_15042025_07_04_59_5795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853809","file1":"1349853800","file0":"1349853793","file4":"1349853828","file5":"1349853833","file3":"1349853818"},"map_files_photo_id_array":[{"photo_id":"1349853833","filename":"file5"},{"photo_id":"1349853809","filename":"file2"},{"photo_id":"1349853828","filename":"file4"},{"photo_id":"1349853800","filename":"file1"},{"photo_id":"1349853793","filename":"file0"},{"photo_id":"1349853818","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349853833":["hashtag1","hashtag2"]},{"1349853809":["hashtag1","hashtag2"]},{"1349853800":["hashtag1","hashtag2"]},{"1349853818":["hashtag1","hashtag2"]},{"1349853793":["hashtag1","hashtag2"]},{"1349853828":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349853833, 1349853809, 1349853800, 1349853818, 1349853793, 1349853828)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 34.12171387672424 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:19:22.675566 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_47_6641.jpg', 2), ('/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_41_5665.jpg', 2), ('/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_35_5648.jpg', 2), ('/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_29_6652.jpg', 2), ('/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_23_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_17_5636.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_47_6641.jpg', '/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_41_5665.jpg', '/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_35_5648.jpg', '/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_29_6652.jpg', '/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_23_5642.jpg', '/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_17_5636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_47_6641.jpg /home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_41_5665.jpg /home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_35_5648.jpg /home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_29_6652.jpg /home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_23_5642.jpg /home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_17_5636.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349853903","1349853893","1349853896","1349853889","1349853865","1349853876"],"photo_ids_order":["1349853865","1349853876","1349853889","1349853893","1349853896","1349853903"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2bfed664b7404d3369e498d820f0704e.jpg","text":"TemporaryFile(/tmp/multipartBody6839042503535875586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708824419,"filename":"image_15042025_07_04_17_5636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/761f10a91aefc8068718d2b89a13c435.jpg","text":"TemporaryFile(/tmp/multipartBody1182086724883977504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708824419,"filename":"image_15042025_07_04_29_6652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/be20dbdd3d8b05f9c5731bdc07911172.jpg","text":"TemporaryFile(/tmp/multipartBody7454013968803441877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708824419,"filename":"image_15042025_07_04_23_5642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f53b7a317f0ab1c035c87c625dbb9cf6.jpg","text":"TemporaryFile(/tmp/multipartBody3303830514387933707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708824419,"filename":"image_15042025_07_04_35_5648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e15e05caf0f93caf8c6a42bd9003784f.jpg","text":"TemporaryFile(/tmp/multipartBody1875027147905940127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708824419,"filename":"image_15042025_07_04_47_6641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f66342454ff071fa8ffafaaa24048d44.jpg","text":"TemporaryFile(/tmp/multipartBody7447489352898046928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708824419,"filename":"image_15042025_07_04_41_5665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853889","file1":"1349853876","file0":"1349853865","file4":"1349853896","file5":"1349853903","file3":"1349853893"},"map_files_photo_id_array":[{"photo_id":"1349853903","filename":"file5"},{"photo_id":"1349853889","filename":"file2"},{"photo_id":"1349853896","filename":"file4"},{"photo_id":"1349853876","filename":"file1"},{"photo_id":"1349853865","filename":"file0"},{"photo_id":"1349853893","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349853903":["hashtag1","hashtag2"]},{"1349853893":["hashtag1","hashtag2"]},{"1349853896":["hashtag1","hashtag2"]},{"1349853889":["hashtag1","hashtag2"]},{"1349853865":["hashtag1","hashtag2"]},{"1349853876":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349853903, 1349853893, 1349853896, 1349853889, 1349853865, 1349853876)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.124180555343628 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:20:02.402308 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_11_6691.jpg', 2), ('/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_05_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_59_6652.jpg', 2), ('/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_52_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_47_5645.jpg', 2), ('/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_41_6624.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_11_6691.jpg', '/home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_05_5621.jpg', '/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_59_6652.jpg', '/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_52_5622.jpg', '/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_47_5645.jpg', '/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_41_6624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_11_6691.jpg /home/nano/Desktop/images/15042025/07/04/image_15042025_07_04_05_5621.jpg /home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_59_6652.jpg /home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_52_5622.jpg /home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_47_5645.jpg /home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_41_6624.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349853974","1349853961","1349853984","1349853966","1349854002","1349853969"],"photo_ids_order":["1349853961","1349853966","1349853969","1349853974","1349853984","1349854002"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a8ac89d0722699adb4d5a7e6feb0d24.jpg","text":"TemporaryFile(/tmp/multipartBody8366555158219625858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708864138,"filename":"image_15042025_07_03_52_5622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43252a71a5b13e9a4991759b218ba0a0.jpg","text":"TemporaryFile(/tmp/multipartBody6229468181562517595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708864138,"filename":"image_15042025_07_04_11_6691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2cca34c846befa14f5375171e653d1ed.jpg","text":"TemporaryFile(/tmp/multipartBody8231900420366595882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708864138,"filename":"image_15042025_07_03_47_5645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04393f327a3c3322fa4b66475064abfd.jpg","text":"TemporaryFile(/tmp/multipartBody8617100370087696643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708864138,"filename":"image_15042025_07_04_05_5621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4bb2bd537f355ccdc063c54e0a8bc024.jpg","text":"TemporaryFile(/tmp/multipartBody7891231119705915139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708864138,"filename":"image_15042025_07_03_41_6624.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc5a12083c63714e250a54b8252e3771.jpg","text":"TemporaryFile(/tmp/multipartBody2184042845700403150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708864138,"filename":"image_15042025_07_03_59_6652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349853969","file1":"1349853966","file0":"1349853961","file4":"1349853984","file5":"1349854002","file3":"1349853974"},"map_files_photo_id_array":[{"photo_id":"1349854002","filename":"file5"},{"photo_id":"1349853969","filename":"file2"},{"photo_id":"1349853984","filename":"file4"},{"photo_id":"1349853966","filename":"file1"},{"photo_id":"1349853961","filename":"file0"},{"photo_id":"1349853974","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349853974":["hashtag1","hashtag2"]},{"1349853961":["hashtag1","hashtag2"]},{"1349853984":["hashtag1","hashtag2"]},{"1349853966":["hashtag1","hashtag2"]},{"1349854002":["hashtag1","hashtag2"]},{"1349853969":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349853974, 1349853961, 1349853984, 1349853966, 1349854002, 1349853969)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.35226845741272 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:20:41.790307 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_35_5676.jpg', 2), ('/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_29_5653.jpg', 2), ('/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_23_6663.jpg', 2), ('/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_17_5631.jpg', 2), ('/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_11_5644.jpg', 2), ('/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_05_6645.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_35_5676.jpg', '/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_29_5653.jpg', '/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_23_6663.jpg', '/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_17_5631.jpg', '/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_11_5644.jpg', '/home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_05_6645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_35_5676.jpg /home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_29_5653.jpg /home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_23_6663.jpg /home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_17_5631.jpg /home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_11_5644.jpg /home/nano/Desktop/images/15042025/07/03/image_15042025_07_03_05_6645.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349854061","1349854055","1349854066","1349854048","1349854044","1349854038"],"photo_ids_order":["1349854038","1349854044","1349854048","1349854055","1349854061","1349854066"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19b560af84a2fc5b2d59dd29834973bd.jpg","text":"TemporaryFile(/tmp/multipartBody4099487947122128707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708903524,"filename":"image_15042025_07_03_11_5644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0db25963bb2d814b1799c5ae5cbc0d99.jpg","text":"TemporaryFile(/tmp/multipartBody4225478904834554010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708903524,"filename":"image_15042025_07_03_17_5631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eef8872c46e3026c03deeb64b646f94c.jpg","text":"TemporaryFile(/tmp/multipartBody8709445944065155893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708903524,"filename":"image_15042025_07_03_05_6645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef4f342263aa4ef8d6ece87d221cd320.jpg","text":"TemporaryFile(/tmp/multipartBody4974756182205201355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708903524,"filename":"image_15042025_07_03_23_6663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b0fbc6fab66e217981080599564df403.jpg","text":"TemporaryFile(/tmp/multipartBody2286420952990381101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708903524,"filename":"image_15042025_07_03_29_5653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e40ccc52bd09183ca7817525453a8dd.jpg","text":"TemporaryFile(/tmp/multipartBody3641710226119680508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708903524,"filename":"image_15042025_07_03_35_5676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854048","file1":"1349854044","file0":"1349854038","file4":"1349854061","file5":"1349854066","file3":"1349854055"},"map_files_photo_id_array":[{"photo_id":"1349854066","filename":"file5"},{"photo_id":"1349854048","filename":"file2"},{"photo_id":"1349854061","filename":"file4"},{"photo_id":"1349854044","filename":"file1"},{"photo_id":"1349854038","filename":"file0"},{"photo_id":"1349854055","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349854061":["hashtag1","hashtag2"]},{"1349854055":["hashtag1","hashtag2"]},{"1349854066":["hashtag1","hashtag2"]},{"1349854048":["hashtag1","hashtag2"]},{"1349854044":["hashtag1","hashtag2"]},{"1349854038":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349854061, 1349854055, 1349854066, 1349854048, 1349854044, 1349854038)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.459147930145264 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:21:21.933513 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/02/image_15042025_07_02_59_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/07/02/image_15042025_07_02_47_6722.jpg', 2), ('/home/nano/Desktop/images/15042025/07/02/image_15042025_07_02_41_5627.jpg', 2), ('/home/nano/Desktop/images/15042025/07/02/image_15042025_07_02_35_5643.jpg', 2), ('/home/nano/Desktop/images/15042025/07/02/image_15042025_07_02_29_6641.jpg', 2), ('/home/nano/Desktop/images/15042025/07/02/image_15042025_07_02_23_6029.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/02/image_15042025_07_02_59_5633.jpg', '/home/nano/Desktop/images/15042025/07/02/image_15042025_07_02_47_6722.jpg', '/home/nano/Desktop/images/15042025/07/02/image_15042025_07_02_41_5627.jpg', '/home/nano/Desktop/images/15042025/07/02/image_15042025_07_02_35_5643.jpg', '/home/nano/Desktop/images/15042025/07/02/image_15042025_07_02_29_6641.jpg', '/home/nano/Desktop/images/15042025/07/02/image_15042025_07_02_23_6029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/02/image_15042025_07_02_59_5633.jpg /home/nano/Desktop/images/15042025/07/02/image_15042025_07_02_47_6722.jpg /home/nano/Desktop/images/15042025/07/02/image_15042025_07_02_41_5627.jpg /home/nano/Desktop/images/15042025/07/02/image_15042025_07_02_35_5643.jpg /home/nano/Desktop/images/15042025/07/02/image_15042025_07_02_29_6641.jpg /home/nano/Desktop/images/15042025/07/02/image_15042025_07_02_23_6029.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349854118","1349854090","1349854108","1349854113","1349854101","1349854094"],"photo_ids_order":["1349854090","1349854094","1349854101","1349854108","1349854113","1349854118"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c128864203f0ca3c26eeb9d08b3c04c.jpg","text":"TemporaryFile(/tmp/multipartBody315399286687515328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708943667,"filename":"image_15042025_07_02_23_6029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/58b289e24f07aacda062006ca2c5823d.jpg","text":"TemporaryFile(/tmp/multipartBody4321993631420298739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708943667,"filename":"image_15042025_07_02_59_5633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b62ea98019713a0b0f6d63bf202b2cd.jpg","text":"TemporaryFile(/tmp/multipartBody8680314969220241371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708943667,"filename":"image_15042025_07_02_35_5643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/613231db167580093eed32acde4d7177.jpg","text":"TemporaryFile(/tmp/multipartBody6221976491594083444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708943667,"filename":"image_15042025_07_02_29_6641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b19d9c476067b5567a0a094f703cecd4.jpg","text":"TemporaryFile(/tmp/multipartBody5971682158524959153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708943667,"filename":"image_15042025_07_02_41_5627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c78550e38f335922190a41114ad27d78.jpg","text":"TemporaryFile(/tmp/multipartBody4669081241090872197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708943667,"filename":"image_15042025_07_02_47_6722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854101","file1":"1349854094","file0":"1349854090","file4":"1349854113","file5":"1349854118","file3":"1349854108"},"map_files_photo_id_array":[{"photo_id":"1349854118","filename":"file5"},{"photo_id":"1349854101","filename":"file2"},{"photo_id":"1349854113","filename":"file4"},{"photo_id":"1349854094","filename":"file1"},{"photo_id":"1349854090","filename":"file0"},{"photo_id":"1349854108","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349854118":["hashtag1","hashtag2"]},{"1349854090":["hashtag1","hashtag2"]},{"1349854108":["hashtag1","hashtag2"]},{"1349854113":["hashtag1","hashtag2"]},{"1349854101":["hashtag1","hashtag2"]},{"1349854094":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349854118, 1349854090, 1349854108, 1349854113, 1349854101, 1349854094)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.073407649993896 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:22:02.565297 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_53_6633.jpg', 2), ('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_47_5644.jpg', 2), ('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_41_5613.jpg', 2), ('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_35_6629.jpg', 2), ('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_29_5612.jpg', 2), ('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_23_6694.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_53_6633.jpg', '/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_47_5644.jpg', '/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_41_5613.jpg', '/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_35_6629.jpg', '/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_29_5612.jpg', '/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_23_6694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_53_6633.jpg /home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_47_5644.jpg /home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_41_5613.jpg /home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_35_6629.jpg /home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_29_5612.jpg /home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_23_6694.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349854160","1349854157","1349854151","1349854171","1349854165","1349854146"],"photo_ids_order":["1349854146","1349854151","1349854157","1349854160","1349854165","1349854171"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad82eb6d15a97ce2860d74f443247fd3.jpg","text":"TemporaryFile(/tmp/multipartBody7024860218165433677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708984325,"filename":"image_15042025_07_00_35_6629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b969b3edfe87ac49c5d19d44d8669377.jpg","text":"TemporaryFile(/tmp/multipartBody3929251797008573317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708984325,"filename":"image_15042025_07_00_41_5613.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d98e82741056fafe4d5a344498e4fd03.jpg","text":"TemporaryFile(/tmp/multipartBody4363943359230333996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708984325,"filename":"image_15042025_07_00_47_5644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/262bcdac804b887ea12f6f1186db898d.jpg","text":"TemporaryFile(/tmp/multipartBody6470072446054261687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708984325,"filename":"image_15042025_07_00_23_6694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/efff1402ac47814e83351c8344a9ab23.jpg","text":"TemporaryFile(/tmp/multipartBody3415915620101761536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708984325,"filename":"image_15042025_07_00_29_5612.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b90a6c4596be8880cf4da12c0798e138.jpg","text":"TemporaryFile(/tmp/multipartBody3206413766040646822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744708984325,"filename":"image_15042025_07_00_53_6633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854157","file1":"1349854151","file0":"1349854146","file4":"1349854165","file5":"1349854171","file3":"1349854160"},"map_files_photo_id_array":[{"photo_id":"1349854171","filename":"file5"},{"photo_id":"1349854157","filename":"file2"},{"photo_id":"1349854165","filename":"file4"},{"photo_id":"1349854151","filename":"file1"},{"photo_id":"1349854146","filename":"file0"},{"photo_id":"1349854160","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349854160":["hashtag1","hashtag2"]},{"1349854157":["hashtag1","hashtag2"]},{"1349854151":["hashtag1","hashtag2"]},{"1349854171":["hashtag1","hashtag2"]},{"1349854165":["hashtag1","hashtag2"]},{"1349854146":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349854160, 1349854157, 1349854151, 1349854171, 1349854165, 1349854146)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.473549842834473 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:22:42.039426 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_16_5886.jpg', 2), ('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_11_5167.jpg', 2), ('/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_05_6086.jpg', 2), ('/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_53_6133.jpg', 2), ('/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_47_5952.jpg', 2), ('/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_41_5874.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_16_5886.jpg', '/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_11_5167.jpg', '/home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_05_6086.jpg', '/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_53_6133.jpg', '/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_47_5952.jpg', '/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_41_5874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_16_5886.jpg /home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_11_5167.jpg /home/nano/Desktop/images/15042025/07/00/image_15042025_07_00_05_6086.jpg /home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_53_6133.jpg /home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_47_5952.jpg /home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_41_5874.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349854196","1349854220","1349854202","1349854214","1349854227","1349854209"],"photo_ids_order":["1349854196","1349854202","1349854209","1349854214","1349854220","1349854227"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2fc9e562d3162789230681564cafa978.jpg","text":"TemporaryFile(/tmp/multipartBody4642668278334532708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709024019,"filename":"image_15042025_07_00_16_5886.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ee341d12caab958c574fc95439b8e1b.jpg","text":"TemporaryFile(/tmp/multipartBody2035867210316652542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709024019,"filename":"image_15042025_06_59_47_5952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/edbd596cce961e120a5f10faed83eaad.jpg","text":"TemporaryFile(/tmp/multipartBody5739039034367984705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709024019,"filename":"image_15042025_07_00_11_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8da987c4d2e44e5d14fb81dd4831e39d.jpg","text":"TemporaryFile(/tmp/multipartBody2168786830122702320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709024019,"filename":"image_15042025_06_59_53_6133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/250e85e18c123b079424cb579769c205.jpg","text":"TemporaryFile(/tmp/multipartBody7041647503305094852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709024019,"filename":"image_15042025_06_59_41_5874.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d7c95cc72f2477085ecccbf548e46c7.jpg","text":"TemporaryFile(/tmp/multipartBody3916858988600622908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709024019,"filename":"image_15042025_07_00_05_6086.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854209","file1":"1349854202","file0":"1349854196","file4":"1349854220","file5":"1349854227","file3":"1349854214"},"map_files_photo_id_array":[{"photo_id":"1349854227","filename":"file5"},{"photo_id":"1349854209","filename":"file2"},{"photo_id":"1349854220","filename":"file4"},{"photo_id":"1349854202","filename":"file1"},{"photo_id":"1349854196","filename":"file0"},{"photo_id":"1349854214","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349854196":["hashtag1","hashtag2"]},{"1349854220":["hashtag1","hashtag2"]},{"1349854202":["hashtag1","hashtag2"]},{"1349854214":["hashtag1","hashtag2"]},{"1349854227":["hashtag1","hashtag2"]},{"1349854209":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349854196, 1349854220, 1349854202, 1349854214, 1349854227, 1349854209)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.333027601242065 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:23:22.115959 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/23/image_15042025_11_23_59_6058.jpg', 2), ('/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_35_5813.jpg', 2), ('/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_29_5933.jpg', 2), ('/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_23_6828.jpg', 2), ('/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_17_5845.jpg', 2), ('/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_11_5742.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/23/image_15042025_11_23_59_6058.jpg', '/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_35_5813.jpg', '/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_29_5933.jpg', '/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_23_6828.jpg', '/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_17_5845.jpg', '/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_11_5742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/23/image_15042025_11_23_59_6058.jpg /home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_35_5813.jpg /home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_29_5933.jpg /home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_23_6828.jpg /home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_17_5845.jpg /home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_11_5742.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349854277","1349854252","1349854261","1349854255","1349854266","1349854271"],"photo_ids_order":["1349854252","1349854255","1349854261","1349854266","1349854271","1349854277"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/40eb8308dc4086a3a93886912b5ea5d7.jpg","text":"TemporaryFile(/tmp/multipartBody1288719355038149467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709063977,"filename":"image_15042025_06_59_11_5742.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d63da7f5dfe13efdb189f7c434ec2be.jpg","text":"TemporaryFile(/tmp/multipartBody1950378795533746232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709063977,"filename":"image_15042025_11_23_59_6058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9056faa94cfe0ea493bd80a014f3f8d1.jpg","text":"TemporaryFile(/tmp/multipartBody1599579051546143546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709063977,"filename":"image_15042025_06_59_29_5933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/83be209ef3df494465d9f81b24b88412.jpg","text":"TemporaryFile(/tmp/multipartBody5930500298495018944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709063977,"filename":"image_15042025_06_59_35_5813.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac35bdba9e86dd72371dd3ed5daeead9.jpg","text":"TemporaryFile(/tmp/multipartBody8172208428888188014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709063977,"filename":"image_15042025_06_59_23_6828.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb277d7f4761487ccfcccd62bd79ecf3.jpg","text":"TemporaryFile(/tmp/multipartBody6240587737100476211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709063977,"filename":"image_15042025_06_59_17_5845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854261","file1":"1349854255","file0":"1349854252","file4":"1349854271","file5":"1349854277","file3":"1349854266"},"map_files_photo_id_array":[{"photo_id":"1349854277","filename":"file5"},{"photo_id":"1349854261","filename":"file2"},{"photo_id":"1349854271","filename":"file4"},{"photo_id":"1349854255","filename":"file1"},{"photo_id":"1349854252","filename":"file0"},{"photo_id":"1349854266","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349854277":["hashtag1","hashtag2"]},{"1349854252":["hashtag1","hashtag2"]},{"1349854261":["hashtag1","hashtag2"]},{"1349854255":["hashtag1","hashtag2"]},{"1349854266":["hashtag1","hashtag2"]},{"1349854271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349854277, 1349854252, 1349854261, 1349854255, 1349854266, 1349854271)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.46925663948059 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:24:03.146636 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_05_5697.jpg', 2), ('/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_59_6651.jpg', 2), ('/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_53_5659.jpg', 2), ('/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_41_6681.jpg', 2), ('/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_35_5636.jpg', 2), ('/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_29_5616.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_05_5697.jpg', '/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_59_6651.jpg', '/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_53_5659.jpg', '/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_41_6681.jpg', '/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_35_5636.jpg', '/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_29_5616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/59/image_15042025_06_59_05_5697.jpg /home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_59_6651.jpg /home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_53_5659.jpg /home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_41_6681.jpg /home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_35_5636.jpg /home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_29_5616.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349854355","1349854349","1349854343","1349854333","1349854306","1349854311"],"photo_ids_order":["1349854306","1349854311","1349854333","1349854343","1349854349","1349854355"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/095a526616d3d325837f1fc38aeafbf8.jpg","text":"TemporaryFile(/tmp/multipartBody1611118938555373099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709104913,"filename":"image_15042025_06_58_29_5616.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f6023276b9c6fd38201292df8d00e8a.jpg","text":"TemporaryFile(/tmp/multipartBody3745221444969731818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709104913,"filename":"image_15042025_06_58_35_5636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a962424d17565f9c723b5334ea20925c.jpg","text":"TemporaryFile(/tmp/multipartBody2874718489009407101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709104913,"filename":"image_15042025_06_58_41_6681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2341ce10e25dfbf08eb780c35e90217.jpg","text":"TemporaryFile(/tmp/multipartBody7428002725673966152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709104913,"filename":"image_15042025_06_58_53_5659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1cf2124eb7371299c5d92a725670fc6.jpg","text":"TemporaryFile(/tmp/multipartBody3150058365274187521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709104913,"filename":"image_15042025_06_59_05_5697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0228d26ee78eaa70193d063344b5c86e.jpg","text":"TemporaryFile(/tmp/multipartBody5553094884021879305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709104913,"filename":"image_15042025_06_58_59_6651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854333","file1":"1349854311","file0":"1349854306","file4":"1349854349","file5":"1349854355","file3":"1349854343"},"map_files_photo_id_array":[{"photo_id":"1349854355","filename":"file5"},{"photo_id":"1349854333","filename":"file2"},{"photo_id":"1349854349","filename":"file4"},{"photo_id":"1349854311","filename":"file1"},{"photo_id":"1349854306","filename":"file0"},{"photo_id":"1349854343","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349854355":["hashtag1","hashtag2"]},{"1349854349":["hashtag1","hashtag2"]},{"1349854343":["hashtag1","hashtag2"]},{"1349854333":["hashtag1","hashtag2"]},{"1349854306":["hashtag1","hashtag2"]},{"1349854311":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349854355, 1349854349, 1349854343, 1349854333, 1349854306, 1349854311)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.36617136001587 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:24:42.307713 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/18/image_15042025_11_18_11_6122.jpg', 2), ('/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_23_6622.jpg', 2), ('/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_17_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_11_6668.jpg', 2), ('/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_04_5613.jpg', 2), ('/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_59_5613.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/18/image_15042025_11_18_11_6122.jpg', '/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_23_6622.jpg', '/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_17_5621.jpg', '/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_11_6668.jpg', '/home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_04_5613.jpg', '/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_59_5613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/18/image_15042025_11_18_11_6122.jpg /home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_23_6622.jpg /home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_17_5621.jpg /home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_11_6668.jpg /home/nano/Desktop/images/15042025/06/58/image_15042025_06_58_04_5613.jpg /home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_59_5613.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349854394","1349854418","1349854462","1349854438","1349854426","1349854405"],"photo_ids_order":["1349854394","1349854405","1349854418","1349854426","1349854438","1349854462"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5a2b3322e54101e5bea7685d0b8dfd1b.jpg","text":"TemporaryFile(/tmp/multipartBody7878952810031760578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709144061,"filename":"image_15042025_11_18_11_6122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f1613584d03f2194faf360c0f0f3461.jpg","text":"TemporaryFile(/tmp/multipartBody4700544697991185681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709144061,"filename":"image_15042025_06_58_17_5621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/735c370bd7fe9442e308056615476260.jpg","text":"TemporaryFile(/tmp/multipartBody8683497820783961402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709144061,"filename":"image_15042025_06_57_59_5613.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f48341329783bbeea6fcea458e66e962.jpg","text":"TemporaryFile(/tmp/multipartBody7016545106605923626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709144061,"filename":"image_15042025_06_58_04_5613.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d9f3f52fb5638cec0d49adcb84f3affe.jpg","text":"TemporaryFile(/tmp/multipartBody65760407336700009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709144061,"filename":"image_15042025_06_58_11_6668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b244619630db56ce8e25d35e7a273de.jpg","text":"TemporaryFile(/tmp/multipartBody2424385425007544114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709144061,"filename":"image_15042025_06_58_23_6622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854418","file1":"1349854405","file0":"1349854394","file4":"1349854438","file5":"1349854462","file3":"1349854426"},"map_files_photo_id_array":[{"photo_id":"1349854462","filename":"file5"},{"photo_id":"1349854418","filename":"file2"},{"photo_id":"1349854438","filename":"file4"},{"photo_id":"1349854405","filename":"file1"},{"photo_id":"1349854394","filename":"file0"},{"photo_id":"1349854426","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349854394":["hashtag1","hashtag2"]},{"1349854418":["hashtag1","hashtag2"]},{"1349854462":["hashtag1","hashtag2"]},{"1349854438":["hashtag1","hashtag2"]},{"1349854426":["hashtag1","hashtag2"]},{"1349854405":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349854394, 1349854418, 1349854462, 1349854438, 1349854426, 1349854405)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.054596424102783 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:25:22.443145 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/24/image_15042025_11_24_11_5125.jpg', 2), ('/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_53_6633.jpg', 2), ('/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_47_5653.jpg', 2), ('/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_41_5653.jpg', 2), ('/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_35_6689.jpg', 2), ('/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_23_5625.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/24/image_15042025_11_24_11_5125.jpg', '/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_53_6633.jpg', '/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_47_5653.jpg', '/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_41_5653.jpg', '/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_35_6689.jpg', '/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_23_5625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/24/image_15042025_11_24_11_5125.jpg /home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_53_6633.jpg /home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_47_5653.jpg /home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_41_5653.jpg /home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_35_6689.jpg /home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_23_5625.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349854765","1349854780","1349854794","1349854788","1349854773","1349854746"],"photo_ids_order":["1349854746","1349854765","1349854773","1349854780","1349854788","1349854794"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20be7ab172b418a7ae69f670c28b63f0.jpg","text":"TemporaryFile(/tmp/multipartBody6976275284619401356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709184193,"filename":"image_15042025_06_57_53_6633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9916f6cdfd5314effc5fc4a077d4ffe.jpg","text":"TemporaryFile(/tmp/multipartBody1934537958820769052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709184193,"filename":"image_15042025_06_57_41_5653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5edd58932e6f4c8c9c5c41e16affbb29.jpg","text":"TemporaryFile(/tmp/multipartBody5485334283158191779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709184193,"filename":"image_15042025_06_57_23_5625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/730135bf54835b53153a5e9ab91b1d52.jpg","text":"TemporaryFile(/tmp/multipartBody7803548399732313343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709184193,"filename":"image_15042025_06_57_35_6689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/603f1c3ff68e859f4c6312fe9eac3bfc.jpg","text":"TemporaryFile(/tmp/multipartBody8305610785626358975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709184193,"filename":"image_15042025_06_57_47_5653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e0ae567d8ebd37de940954fa4d2f799f.jpg","text":"TemporaryFile(/tmp/multipartBody6394107748574087972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709184193,"filename":"image_15042025_11_24_11_5125.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854773","file1":"1349854765","file0":"1349854746","file4":"1349854788","file5":"1349854794","file3":"1349854780"},"map_files_photo_id_array":[{"photo_id":"1349854794","filename":"file5"},{"photo_id":"1349854773","filename":"file2"},{"photo_id":"1349854788","filename":"file4"},{"photo_id":"1349854765","filename":"file1"},{"photo_id":"1349854746","filename":"file0"},{"photo_id":"1349854780","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349854765":["hashtag1","hashtag2"]},{"1349854780":["hashtag1","hashtag2"]},{"1349854794":["hashtag1","hashtag2"]},{"1349854788":["hashtag1","hashtag2"]},{"1349854773":["hashtag1","hashtag2"]},{"1349854746":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349854765, 1349854780, 1349854794, 1349854788, 1349854773, 1349854746)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 34.712708950042725 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:26:03.241150 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_17_6655.jpg', 2), ('/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_11_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_05_5643.jpg', 2), ('/home/nano/Desktop/images/15042025/06/56/image_15042025_06_56_59_6622.jpg', 2), ('/home/nano/Desktop/images/15042025/06/56/image_15042025_06_56_53_5611.jpg', 2), ('/home/nano/Desktop/images/15042025/06/56/image_15042025_06_56_47_5791.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_17_6655.jpg', '/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_11_5662.jpg', '/home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_05_5643.jpg', '/home/nano/Desktop/images/15042025/06/56/image_15042025_06_56_59_6622.jpg', '/home/nano/Desktop/images/15042025/06/56/image_15042025_06_56_53_5611.jpg', '/home/nano/Desktop/images/15042025/06/56/image_15042025_06_56_47_5791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_17_6655.jpg /home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_11_5662.jpg /home/nano/Desktop/images/15042025/06/57/image_15042025_06_57_05_5643.jpg /home/nano/Desktop/images/15042025/06/56/image_15042025_06_56_59_6622.jpg /home/nano/Desktop/images/15042025/06/56/image_15042025_06_56_53_5611.jpg /home/nano/Desktop/images/15042025/06/56/image_15042025_06_56_47_5791.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349854838","1349854823","1349854904","1349854834","1349854926","1349854898"],"photo_ids_order":["1349854823","1349854834","1349854838","1349854898","1349854904","1349854926"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/652cd8c7e6a3ea8c31811d4593ce065e.jpg","text":"TemporaryFile(/tmp/multipartBody4046638491473403707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709224964,"filename":"image_15042025_06_57_05_5643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df27b7861034510f0361150e61789865.jpg","text":"TemporaryFile(/tmp/multipartBody719680386907921549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709224964,"filename":"image_15042025_06_57_17_6655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8397fc18ef4d2e44a3b80ef850472763.jpg","text":"TemporaryFile(/tmp/multipartBody2676847491628909985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709224964,"filename":"image_15042025_06_56_53_5611.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e69de8bb6ec0ddbb9208f092d2a9b8c4.jpg","text":"TemporaryFile(/tmp/multipartBody3675898946145910456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709224964,"filename":"image_15042025_06_57_11_5662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04a3d3c5e0801ef6c5f02d7d48d56218.jpg","text":"TemporaryFile(/tmp/multipartBody3157583632944510359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709224964,"filename":"image_15042025_06_56_47_5791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24c2c83aab5ecb609e768176b0c6b4c5.jpg","text":"TemporaryFile(/tmp/multipartBody7873733770815057571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709224964,"filename":"image_15042025_06_56_59_6622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854838","file1":"1349854834","file0":"1349854823","file4":"1349854904","file5":"1349854926","file3":"1349854898"},"map_files_photo_id_array":[{"photo_id":"1349854926","filename":"file5"},{"photo_id":"1349854838","filename":"file2"},{"photo_id":"1349854904","filename":"file4"},{"photo_id":"1349854834","filename":"file1"},{"photo_id":"1349854823","filename":"file0"},{"photo_id":"1349854898","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349854838":["hashtag1","hashtag2"]},{"1349854823":["hashtag1","hashtag2"]},{"1349854904":["hashtag1","hashtag2"]},{"1349854834":["hashtag1","hashtag2"]},{"1349854926":["hashtag1","hashtag2"]},{"1349854898":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349854838, 1349854823, 1349854904, 1349854834, 1349854926, 1349854898)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 49.01269197463989 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:27:03.061219 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/53/image_15042025_06_53_59_6806.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_29_6631.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_23_5605.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_17_5692.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_11_6641.jpg', 2), ('/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_05_5615.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/53/image_15042025_06_53_59_6806.jpg', '/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_29_6631.jpg', '/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_23_5605.jpg', '/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_17_5692.jpg', '/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_11_6641.jpg', '/home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_05_5615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/53/image_15042025_06_53_59_6806.jpg /home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_29_6631.jpg /home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_23_5605.jpg /home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_17_5692.jpg /home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_11_6641.jpg /home/nano/Desktop/images/15042025/06/49/image_15042025_06_49_05_5615.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349854961","1349854990","1349854972","1349855002","1349854954","1349854995"],"photo_ids_order":["1349854954","1349854961","1349854972","1349854990","1349854995","1349855002"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5551f43bebde8c1c424f20ebe08b8f79.jpg","text":"TemporaryFile(/tmp/multipartBody1451490906429441965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709284841,"filename":"image_15042025_06_49_29_6631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8beec8616a6f6e4dfb37d971a05a641a.jpg","text":"TemporaryFile(/tmp/multipartBody6625982390301791329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709284841,"filename":"image_15042025_06_49_17_5692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1f8c017111542941e9a8c69c88edd81e.jpg","text":"TemporaryFile(/tmp/multipartBody1401306785458978617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709284841,"filename":"image_15042025_06_49_23_5605.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6bb434986851f7d64e94e2bc470924f1.jpg","text":"TemporaryFile(/tmp/multipartBody6465221958989402831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709284841,"filename":"image_15042025_06_49_05_5615.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/01c027559f96cf9a905d872938bc7534.jpg","text":"TemporaryFile(/tmp/multipartBody2053632079698246677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709284841,"filename":"image_15042025_06_53_59_6806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/81bbb9ef902da026a3e3f71e19be67be.jpg","text":"TemporaryFile(/tmp/multipartBody9179344204655878498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709284841,"filename":"image_15042025_06_49_11_6641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349854972","file1":"1349854961","file0":"1349854954","file4":"1349854995","file5":"1349855002","file3":"1349854990"},"map_files_photo_id_array":[{"photo_id":"1349855002","filename":"file5"},{"photo_id":"1349854972","filename":"file2"},{"photo_id":"1349854995","filename":"file4"},{"photo_id":"1349854961","filename":"file1"},{"photo_id":"1349854954","filename":"file0"},{"photo_id":"1349854990","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349854961":["hashtag1","hashtag2"]},{"1349854990":["hashtag1","hashtag2"]},{"1349854972":["hashtag1","hashtag2"]},{"1349855002":["hashtag1","hashtag2"]},{"1349854954":["hashtag1","hashtag2"]},{"1349854995":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349854961, 1349854990, 1349854972, 1349855002, 1349854954, 1349854995)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.066736936569214 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:27:42.669373 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_59_6642.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_47_5653.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_41_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_35_6779.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_28_5782.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_23_5984.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_59_6642.jpg', '/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_47_5653.jpg', '/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_41_5646.jpg', '/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_35_6779.jpg', '/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_28_5782.jpg', '/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_23_5984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_59_6642.jpg /home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_47_5653.jpg /home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_41_5646.jpg /home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_35_6779.jpg /home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_28_5782.jpg /home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_23_5984.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349855095","1349855125","1349855073","1349855064","1349855100","1349855090"],"photo_ids_order":["1349855064","1349855073","1349855090","1349855095","1349855100","1349855125"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/befd2c9a3d067ad2e62fcb7337135f92.jpg","text":"TemporaryFile(/tmp/multipartBody2229014602595746764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709324443,"filename":"image_15042025_06_48_35_6779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68ae6debf6452877e309cd2da4dc6999.jpg","text":"TemporaryFile(/tmp/multipartBody3390269090551324550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709324443,"filename":"image_15042025_06_48_23_5984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90566a4be8c1e45417910e696bf15cbb.jpg","text":"TemporaryFile(/tmp/multipartBody5248318475237209396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709324443,"filename":"image_15042025_06_48_47_5653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a7552645b6f50557dfb310e0f460be0.jpg","text":"TemporaryFile(/tmp/multipartBody6158417413726586698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709324443,"filename":"image_15042025_06_48_59_6642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/11f1716622948b82ade8e3211086dea3.jpg","text":"TemporaryFile(/tmp/multipartBody8479786360091780728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709324443,"filename":"image_15042025_06_48_28_5782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/12e6bdfaf504839b56961868db479472.jpg","text":"TemporaryFile(/tmp/multipartBody439809382242521770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709324443,"filename":"image_15042025_06_48_41_5646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349855090","file1":"1349855073","file0":"1349855064","file4":"1349855100","file5":"1349855125","file3":"1349855095"},"map_files_photo_id_array":[{"photo_id":"1349855125","filename":"file5"},{"photo_id":"1349855090","filename":"file2"},{"photo_id":"1349855100","filename":"file4"},{"photo_id":"1349855073","filename":"file1"},{"photo_id":"1349855064","filename":"file0"},{"photo_id":"1349855095","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349855095":["hashtag1","hashtag2"]},{"1349855125":["hashtag1","hashtag2"]},{"1349855073":["hashtag1","hashtag2"]},{"1349855064":["hashtag1","hashtag2"]},{"1349855100":["hashtag1","hashtag2"]},{"1349855090":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349855095, 1349855125, 1349855073, 1349855064, 1349855100, 1349855090)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.460379123687744 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:28:21.789688 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/28/image_15042025_11_28_59_6066.jpg', 2), ('/home/nano/Desktop/images/15042025/11/25/image_15042025_11_25_05_6100.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_17_6102.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_11_6086.jpg', 2), ('/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_04_5831.jpg', 2), ('/home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_59_5800.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/28/image_15042025_11_28_59_6066.jpg', '/home/nano/Desktop/images/15042025/11/25/image_15042025_11_25_05_6100.jpg', '/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_17_6102.jpg', '/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_11_6086.jpg', '/home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_04_5831.jpg', '/home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_59_5800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/28/image_15042025_11_28_59_6066.jpg /home/nano/Desktop/images/15042025/11/25/image_15042025_11_25_05_6100.jpg /home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_17_6102.jpg /home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_11_6086.jpg /home/nano/Desktop/images/15042025/06/48/image_15042025_06_48_04_5831.jpg /home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_59_5800.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349855225","1349855204","1349855175","1349855154","1349855240","1349855234"],"photo_ids_order":["1349855154","1349855175","1349855204","1349855225","1349855234","1349855240"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5383a64c722f9ba7f8bc748d0b4a53cb.jpg","text":"TemporaryFile(/tmp/multipartBody860647358243333258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709363674,"filename":"image_15042025_06_48_11_6086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/05d54cf657dc7ffbf1937a6520002a49.jpg","text":"TemporaryFile(/tmp/multipartBody6398150092232580941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709363674,"filename":"image_15042025_06_48_17_6102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/27ba4b20c295d793736225cb6a61fd05.jpg","text":"TemporaryFile(/tmp/multipartBody3322018237941947780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709363674,"filename":"image_15042025_11_25_05_6100.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/17d189225ec52e25dbadcc9407a1293d.jpg","text":"TemporaryFile(/tmp/multipartBody6829296510019388538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709363674,"filename":"image_15042025_11_28_59_6066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e429e6c92ca73f69cf568816f784a349.jpg","text":"TemporaryFile(/tmp/multipartBody1008986090433135959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709363674,"filename":"image_15042025_06_47_59_5800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3308bad20337774c6f8851a05a5ba52f.jpg","text":"TemporaryFile(/tmp/multipartBody6441884158642951422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709363674,"filename":"image_15042025_06_48_04_5831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349855204","file1":"1349855175","file0":"1349855154","file4":"1349855234","file5":"1349855240","file3":"1349855225"},"map_files_photo_id_array":[{"photo_id":"1349855240","filename":"file5"},{"photo_id":"1349855204","filename":"file2"},{"photo_id":"1349855234","filename":"file4"},{"photo_id":"1349855175","filename":"file1"},{"photo_id":"1349855154","filename":"file0"},{"photo_id":"1349855225","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349855225":["hashtag1","hashtag2"]},{"1349855204":["hashtag1","hashtag2"]},{"1349855175":["hashtag1","hashtag2"]},{"1349855154":["hashtag1","hashtag2"]},{"1349855240":["hashtag1","hashtag2"]},{"1349855234":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349855225, 1349855204, 1349855175, 1349855154, 1349855240, 1349855234)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.15615224838257 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:29:02.866208 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_53_5835.jpg', 2), ('/home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_47_5902.jpg', 2), ('/home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_41_5932.jpg', 2), ('/home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_29_6073.jpg', 2), ('/home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_23_5843.jpg', 2), ('/home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_17_5852.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_53_5835.jpg', '/home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_47_5902.jpg', '/home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_41_5932.jpg', '/home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_29_6073.jpg', '/home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_23_5843.jpg', '/home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_17_5852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_53_5835.jpg /home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_47_5902.jpg /home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_41_5932.jpg /home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_29_6073.jpg /home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_23_5843.jpg /home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_17_5852.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349855306","1349855296","1349855362","1349855352","1349855346","1349855340"],"photo_ids_order":["1349855296","1349855306","1349855340","1349855346","1349855352","1349855362"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b68c0b4fca7298583ab57571bbc274b6.jpg","text":"TemporaryFile(/tmp/multipartBody8556346795387820858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709404748,"filename":"image_15042025_06_47_47_5902.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b96ffd4ddd5e4c99be4a6450f56c42a.jpg","text":"TemporaryFile(/tmp/multipartBody8204334286906253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709404748,"filename":"image_15042025_06_47_53_5835.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e87afa82c0bd5f1c5419da5cbe76a3c2.jpg","text":"TemporaryFile(/tmp/multipartBody4944652190587539233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709404748,"filename":"image_15042025_06_47_17_5852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/873680fb7691018be96518d21d8ff672.jpg","text":"TemporaryFile(/tmp/multipartBody8785291045904181453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709404748,"filename":"image_15042025_06_47_23_5843.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ff44670e52545442df1e3840a6482e04.jpg","text":"TemporaryFile(/tmp/multipartBody3813910480041971664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709404748,"filename":"image_15042025_06_47_29_6073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/05e816cedb1460920421a2aae886ae92.jpg","text":"TemporaryFile(/tmp/multipartBody462249234332727606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709404748,"filename":"image_15042025_06_47_41_5932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349855340","file1":"1349855306","file0":"1349855296","file4":"1349855352","file5":"1349855362","file3":"1349855346"},"map_files_photo_id_array":[{"photo_id":"1349855362","filename":"file5"},{"photo_id":"1349855340","filename":"file2"},{"photo_id":"1349855352","filename":"file4"},{"photo_id":"1349855306","filename":"file1"},{"photo_id":"1349855296","filename":"file0"},{"photo_id":"1349855346","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349855306":["hashtag1","hashtag2"]},{"1349855296":["hashtag1","hashtag2"]},{"1349855362":["hashtag1","hashtag2"]},{"1349855352":["hashtag1","hashtag2"]},{"1349855346":["hashtag1","hashtag2"]},{"1349855340":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349855306, 1349855296, 1349855362, 1349855352, 1349855346, 1349855340)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.977970361709595 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:29:41.978093 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_11_6875.jpg', 2), ('/home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_05_5888.jpg', 2), ('/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_59_6122.jpg', 2), ('/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_41_5832.jpg', 2), ('/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_35_5896.jpg', 2), ('/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_29_6847.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_11_6875.jpg', '/home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_05_5888.jpg', '/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_59_6122.jpg', '/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_41_5832.jpg', '/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_35_5896.jpg', '/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_29_6847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_11_6875.jpg /home/nano/Desktop/images/15042025/06/47/image_15042025_06_47_05_5888.jpg /home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_59_6122.jpg /home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_41_5832.jpg /home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_35_5896.jpg /home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_29_6847.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349855513","1349855476","1349855493","1349855431","1349855487","1349855502"],"photo_ids_order":["1349855431","1349855476","1349855487","1349855493","1349855502","1349855513"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/60ba154d776760f8bbffd7cf909c0fc0.jpg","text":"TemporaryFile(/tmp/multipartBody1906714626897671574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709443836,"filename":"image_15042025_06_46_29_6847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/19963e3c0b2d6531404bf6b661fb3169.jpg","text":"TemporaryFile(/tmp/multipartBody8702151204359813166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709443836,"filename":"image_15042025_06_47_05_5888.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/969a1cd28197c658b727ee2fa799d3a0.jpg","text":"TemporaryFile(/tmp/multipartBody7453635934893108427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709443836,"filename":"image_15042025_06_46_41_5832.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/964827d439bb6b048c7fbdeda9602a69.jpg","text":"TemporaryFile(/tmp/multipartBody4799733180019173290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709443836,"filename":"image_15042025_06_47_11_6875.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e3dbde2b131b6ac80e622d8d4e201d0.jpg","text":"TemporaryFile(/tmp/multipartBody99928562311006760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709443836,"filename":"image_15042025_06_46_59_6122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0bd5ac9764a8b39a701d601d028daf8b.jpg","text":"TemporaryFile(/tmp/multipartBody3033615103822423437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709443836,"filename":"image_15042025_06_46_35_5896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349855487","file1":"1349855476","file0":"1349855431","file4":"1349855502","file5":"1349855513","file3":"1349855493"},"map_files_photo_id_array":[{"photo_id":"1349855513","filename":"file5"},{"photo_id":"1349855487","filename":"file2"},{"photo_id":"1349855502","filename":"file4"},{"photo_id":"1349855476","filename":"file1"},{"photo_id":"1349855431","filename":"file0"},{"photo_id":"1349855493","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349855513":["hashtag1","hashtag2"]},{"1349855476":["hashtag1","hashtag2"]},{"1349855493":["hashtag1","hashtag2"]},{"1349855431":["hashtag1","hashtag2"]},{"1349855487":["hashtag1","hashtag2"]},{"1349855502":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349855513, 1349855476, 1349855493, 1349855431, 1349855487, 1349855502)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.931008100509644 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:30:22.112346 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_23_5826.jpg', 2), ('/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_17_5861.jpg', 2), ('/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_11_5948.jpg', 2), ('/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_05_6071.jpg', 2), ('/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_59_5940.jpg', 2), ('/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_53_5780.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_23_5826.jpg', '/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_17_5861.jpg', '/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_11_5948.jpg', '/home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_05_6071.jpg', '/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_59_5940.jpg', '/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_53_5780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_23_5826.jpg /home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_17_5861.jpg /home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_11_5948.jpg /home/nano/Desktop/images/15042025/06/46/image_15042025_06_46_05_6071.jpg /home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_59_5940.jpg /home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_53_5780.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349855574","1349855586","1349855568","1349855613","1349855591","1349855582"],"photo_ids_order":["1349855568","1349855574","1349855582","1349855586","1349855591","1349855613"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ff36a48fb49d1c529ac914447ec068d.jpg","text":"TemporaryFile(/tmp/multipartBody6339104673028888890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709483994,"filename":"image_15042025_06_46_17_5861.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f0bce6b1d94ba43c2b65c50b550cc44.jpg","text":"TemporaryFile(/tmp/multipartBody6955926047049124731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709483994,"filename":"image_15042025_06_46_05_6071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/134f411aa6509bff9d918e7fa0a74e76.jpg","text":"TemporaryFile(/tmp/multipartBody955293833608463289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709483994,"filename":"image_15042025_06_46_23_5826.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/13b95a6a90d54beaad10453045b8908c.jpg","text":"TemporaryFile(/tmp/multipartBody8851494603281025127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709483994,"filename":"image_15042025_06_45_53_5780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf20d80e463604685d046d32a66580e3.jpg","text":"TemporaryFile(/tmp/multipartBody5646543132412393616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709483994,"filename":"image_15042025_06_45_59_5940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a85b0594b52b1a997e35c08d61acd4c3.jpg","text":"TemporaryFile(/tmp/multipartBody6186186934121087674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709483994,"filename":"image_15042025_06_46_11_5948.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349855582","file1":"1349855574","file0":"1349855568","file4":"1349855591","file5":"1349855613","file3":"1349855586"},"map_files_photo_id_array":[{"photo_id":"1349855613","filename":"file5"},{"photo_id":"1349855582","filename":"file2"},{"photo_id":"1349855591","filename":"file4"},{"photo_id":"1349855574","filename":"file1"},{"photo_id":"1349855568","filename":"file0"},{"photo_id":"1349855586","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349855574":["hashtag1","hashtag2"]},{"1349855586":["hashtag1","hashtag2"]},{"1349855568":["hashtag1","hashtag2"]},{"1349855613":["hashtag1","hashtag2"]},{"1349855591":["hashtag1","hashtag2"]},{"1349855582":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349855574, 1349855586, 1349855568, 1349855613, 1349855591, 1349855582)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.89335608482361 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:31:02.864686 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_47_5782.jpg', 2), ('/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_41_6880.jpg', 2), ('/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_34_5890.jpg', 2), ('/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_29_5849.jpg', 2), ('/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_23_5810.jpg', 2), ('/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_17_5836.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_47_5782.jpg', '/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_41_6880.jpg', '/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_34_5890.jpg', '/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_29_5849.jpg', '/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_23_5810.jpg', '/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_17_5836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_47_5782.jpg /home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_41_6880.jpg /home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_34_5890.jpg /home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_29_5849.jpg /home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_23_5810.jpg /home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_17_5836.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349855710","1349855730","1349855718","1349855733","1349855723","1349855702"],"photo_ids_order":["1349855702","1349855710","1349855718","1349855723","1349855730","1349855733"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/273f0f4b99218fc95d14090c673644c3.jpg","text":"TemporaryFile(/tmp/multipartBody7098678203951761921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709524716,"filename":"image_15042025_06_45_41_6880.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5f8c5bb3bbb76d0ec2b2b157fc9d81d.jpg","text":"TemporaryFile(/tmp/multipartBody5404633804175810652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709524716,"filename":"image_15042025_06_45_23_5810.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3b9b6938af951041b010fb0bad8dfb3.jpg","text":"TemporaryFile(/tmp/multipartBody3819704671399718882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709524716,"filename":"image_15042025_06_45_34_5890.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70af56726c3278ecc9b3399907c2e9cb.jpg","text":"TemporaryFile(/tmp/multipartBody6247305635136133920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709524716,"filename":"image_15042025_06_45_17_5836.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/38d2bb6fc2929c59d2f94db6926cf389.jpg","text":"TemporaryFile(/tmp/multipartBody8921408457062247287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709524716,"filename":"image_15042025_06_45_29_5849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc76965c8f94239a039d968b10b6564e.jpg","text":"TemporaryFile(/tmp/multipartBody1009023481111697944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709524716,"filename":"image_15042025_06_45_47_5782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349855718","file1":"1349855710","file0":"1349855702","file4":"1349855730","file5":"1349855733","file3":"1349855723"},"map_files_photo_id_array":[{"photo_id":"1349855733","filename":"file5"},{"photo_id":"1349855718","filename":"file2"},{"photo_id":"1349855730","filename":"file4"},{"photo_id":"1349855710","filename":"file1"},{"photo_id":"1349855702","filename":"file0"},{"photo_id":"1349855723","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349855710":["hashtag1","hashtag2"]},{"1349855730":["hashtag1","hashtag2"]},{"1349855718":["hashtag1","hashtag2"]},{"1349855733":["hashtag1","hashtag2"]},{"1349855723":["hashtag1","hashtag2"]},{"1349855702":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349855710, 1349855730, 1349855718, 1349855733, 1349855723, 1349855702)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.08227825164795 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:31:42.237395 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_11_5880.jpg', 2), ('/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_05_6673.jpg', 2), ('/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_59_5607.jpg', 2), ('/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_53_5602.jpg', 2), ('/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_47_6661.jpg', 2), ('/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_41_5754.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_11_5880.jpg', '/home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_05_6673.jpg', '/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_59_5607.jpg', '/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_53_5602.jpg', '/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_47_6661.jpg', '/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_41_5754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_11_5880.jpg /home/nano/Desktop/images/15042025/06/45/image_15042025_06_45_05_6673.jpg /home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_59_5607.jpg /home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_53_5602.jpg /home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_47_6661.jpg /home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_41_5754.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349855863","1349855872","1349855845","1349855836","1349855868","1349855856"],"photo_ids_order":["1349855836","1349855845","1349855856","1349855863","1349855868","1349855872"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1bd83dc0ce910baccb0cbdd17796d1a8.jpg","text":"TemporaryFile(/tmp/multipartBody1789883207745876803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709564044,"filename":"image_15042025_06_44_53_5602.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/650dfd46c1a6d944e9ec20d018d0db8e.jpg","text":"TemporaryFile(/tmp/multipartBody3300816330236997112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709564044,"filename":"image_15042025_06_44_41_5754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc61d8b7c48ab31fee20554d2cc81f45.jpg","text":"TemporaryFile(/tmp/multipartBody1997270112136344400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709564044,"filename":"image_15042025_06_45_05_6673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5c92179e3759ecdcd669f968bbec15a.jpg","text":"TemporaryFile(/tmp/multipartBody1255448945426933339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709564044,"filename":"image_15042025_06_45_11_5880.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e56f80ffc9fb986f144e450ba0c86154.jpg","text":"TemporaryFile(/tmp/multipartBody4117750633107744453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709564044,"filename":"image_15042025_06_44_47_6661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15f036302a41c8145457739b6440e976.jpg","text":"TemporaryFile(/tmp/multipartBody27358997270954145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709564044,"filename":"image_15042025_06_44_59_5607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349855856","file1":"1349855845","file0":"1349855836","file4":"1349855868","file5":"1349855872","file3":"1349855863"},"map_files_photo_id_array":[{"photo_id":"1349855872","filename":"file5"},{"photo_id":"1349855856","filename":"file2"},{"photo_id":"1349855868","filename":"file4"},{"photo_id":"1349855845","filename":"file1"},{"photo_id":"1349855836","filename":"file0"},{"photo_id":"1349855863","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349855863":["hashtag1","hashtag2"]},{"1349855872":["hashtag1","hashtag2"]},{"1349855845":["hashtag1","hashtag2"]},{"1349855836":["hashtag1","hashtag2"]},{"1349855868":["hashtag1","hashtag2"]},{"1349855856":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349855863, 1349855872, 1349855845, 1349855836, 1349855868, 1349855856)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.910350799560547 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:32:22.394186 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_29_6634.jpg', 2), ('/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_23_5620.jpg', 2), ('/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_17_5656.jpg', 2), ('/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_11_6686.jpg', 2), ('/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_05_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_59_5618.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_29_6634.jpg', '/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_23_5620.jpg', '/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_17_5656.jpg', '/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_11_6686.jpg', '/home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_05_5622.jpg', '/home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_59_5618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_29_6634.jpg /home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_23_5620.jpg /home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_17_5656.jpg /home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_11_6686.jpg /home/nano/Desktop/images/15042025/06/44/image_15042025_06_44_05_5622.jpg /home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_59_5618.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349855968","1349855944","1349855947","1349855976","1349855963","1349855957"],"photo_ids_order":["1349855944","1349855947","1349855957","1349855963","1349855968","1349855976"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8febafbbeb96cfd3db1704a4d72edfcb.jpg","text":"TemporaryFile(/tmp/multipartBody4892597938501189898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709604128,"filename":"image_15042025_06_44_05_5622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c665ab1d6f5cecdeba3a3a9c9d85a93.jpg","text":"TemporaryFile(/tmp/multipartBody6239442741780819766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709604128,"filename":"image_15042025_06_44_29_6634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee398c16a8dc2198f9b6c24f3069834f.jpg","text":"TemporaryFile(/tmp/multipartBody5484696703706392324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709604128,"filename":"image_15042025_06_44_23_5620.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/371ad5485157d1b0b30407aad8b72135.jpg","text":"TemporaryFile(/tmp/multipartBody7263662366585758344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709604128,"filename":"image_15042025_06_43_59_5618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eaed386285c868d8ff545dc97457fbaa.jpg","text":"TemporaryFile(/tmp/multipartBody5016778104160774515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709604128,"filename":"image_15042025_06_44_11_6686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae1663464343f2cf8cf8cb38c6d81832.jpg","text":"TemporaryFile(/tmp/multipartBody1028879168919027576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709604128,"filename":"image_15042025_06_44_17_5656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349855957","file1":"1349855947","file0":"1349855944","file4":"1349855968","file5":"1349855976","file3":"1349855963"},"map_files_photo_id_array":[{"photo_id":"1349855976","filename":"file5"},{"photo_id":"1349855957","filename":"file2"},{"photo_id":"1349855968","filename":"file4"},{"photo_id":"1349855947","filename":"file1"},{"photo_id":"1349855944","filename":"file0"},{"photo_id":"1349855963","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349855968":["hashtag1","hashtag2"]},{"1349855944":["hashtag1","hashtag2"]},{"1349855947":["hashtag1","hashtag2"]},{"1349855976":["hashtag1","hashtag2"]},{"1349855963":["hashtag1","hashtag2"]},{"1349855957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349855968, 1349855944, 1349855947, 1349855976, 1349855963, 1349855957)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.44287848472595 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:33:03.191305 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/33/image_15042025_11_33_58_5101.jpg', 2), ('/home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_53_6627.jpg', 2), ('/home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_47_5623.jpg', 2), ('/home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_41_6659.jpg', 2), ('/home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_29_5608.jpg', 2), ('/home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_23_6630.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/33/image_15042025_11_33_58_5101.jpg', '/home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_53_6627.jpg', '/home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_47_5623.jpg', '/home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_41_6659.jpg', '/home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_29_5608.jpg', '/home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_23_6630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/33/image_15042025_11_33_58_5101.jpg /home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_53_6627.jpg /home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_47_5623.jpg /home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_41_6659.jpg /home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_29_5608.jpg /home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_23_6630.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349856010","1349856075","1349856015","1349856018","1349856089","1349856041"],"photo_ids_order":["1349856010","1349856015","1349856018","1349856041","1349856075","1349856089"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f8adc031a8120f0a2a8587a7b84ef693.jpg","text":"TemporaryFile(/tmp/multipartBody2003048308154875275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709644954,"filename":"image_15042025_11_33_58_5101.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9a3c5654fc3940de5b3c361f2e82708a.jpg","text":"TemporaryFile(/tmp/multipartBody3117336731384342902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709644954,"filename":"image_15042025_06_43_29_5608.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3716aa5157d9b1af2fb5a21083dec3ae.jpg","text":"TemporaryFile(/tmp/multipartBody3258707799222270446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709644954,"filename":"image_15042025_06_43_53_6627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59fa640fbd0e35e175cfd4271c9f55c6.jpg","text":"TemporaryFile(/tmp/multipartBody7983710179293422609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709644954,"filename":"image_15042025_06_43_47_5623.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/652b7b02f9ea80f4f291b4f337a88d6c.jpg","text":"TemporaryFile(/tmp/multipartBody5909926645630417735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709644954,"filename":"image_15042025_06_43_23_6630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/36a3d24148481d95a4d53ef9e14aaae5.jpg","text":"TemporaryFile(/tmp/multipartBody4700038138601929967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709644954,"filename":"image_15042025_06_43_41_6659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349856018","file1":"1349856015","file0":"1349856010","file4":"1349856075","file5":"1349856089","file3":"1349856041"},"map_files_photo_id_array":[{"photo_id":"1349856089","filename":"file5"},{"photo_id":"1349856018","filename":"file2"},{"photo_id":"1349856075","filename":"file4"},{"photo_id":"1349856015","filename":"file1"},{"photo_id":"1349856010","filename":"file0"},{"photo_id":"1349856041","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349856010":["hashtag1","hashtag2"]},{"1349856075":["hashtag1","hashtag2"]},{"1349856015":["hashtag1","hashtag2"]},{"1349856018":["hashtag1","hashtag2"]},{"1349856089":["hashtag1","hashtag2"]},{"1349856041":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349856010, 1349856075, 1349856015, 1349856018, 1349856089, 1349856041)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.78662919998169 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:33:42.491895 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_17_5690.jpg', 2), ('/home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_11_5631.jpg', 2), ('/home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_05_6684.jpg', 2), ('/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_59_5732.jpg', 2), ('/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_53_5784.jpg', 2), ('/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_47_5859.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_17_5690.jpg', '/home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_11_5631.jpg', '/home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_05_6684.jpg', '/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_59_5732.jpg', '/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_53_5784.jpg', '/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_47_5859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_17_5690.jpg /home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_11_5631.jpg /home/nano/Desktop/images/15042025/06/43/image_15042025_06_43_05_6684.jpg /home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_59_5732.jpg /home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_53_5784.jpg /home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_47_5859.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349856127","1349856147","1349856120","1349856138","1349856143","1349856134"],"photo_ids_order":["1349856120","1349856127","1349856134","1349856138","1349856143","1349856147"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44903ed772379c29fe77b2f4cf10fe77.jpg","text":"TemporaryFile(/tmp/multipartBody4845909263886589779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709684258,"filename":"image_15042025_06_43_11_5631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bfd4aac56cd5f3742ca1ef5fbe30d95a.jpg","text":"TemporaryFile(/tmp/multipartBody928030032039837086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709684258,"filename":"image_15042025_06_42_47_5859.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ca9f3b18f09608c917ba65aabfe9284.jpg","text":"TemporaryFile(/tmp/multipartBody9033968326031000946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709684258,"filename":"image_15042025_06_43_17_5690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9efa03b40fc7b5c479d29c495fdb184c.jpg","text":"TemporaryFile(/tmp/multipartBody2317881542650390260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709684258,"filename":"image_15042025_06_42_59_5732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eddf65b928148b48ecffa7fefb77a026.jpg","text":"TemporaryFile(/tmp/multipartBody4920088373967818981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709684258,"filename":"image_15042025_06_42_53_5784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bdc551f4ef6dec654663e328aee004ba.jpg","text":"TemporaryFile(/tmp/multipartBody6552974723275274758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709684258,"filename":"image_15042025_06_43_05_6684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349856134","file1":"1349856127","file0":"1349856120","file4":"1349856143","file5":"1349856147","file3":"1349856138"},"map_files_photo_id_array":[{"photo_id":"1349856147","filename":"file5"},{"photo_id":"1349856134","filename":"file2"},{"photo_id":"1349856143","filename":"file4"},{"photo_id":"1349856127","filename":"file1"},{"photo_id":"1349856120","filename":"file0"},{"photo_id":"1349856138","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349856127":["hashtag1","hashtag2"]},{"1349856147":["hashtag1","hashtag2"]},{"1349856120":["hashtag1","hashtag2"]},{"1349856138":["hashtag1","hashtag2"]},{"1349856143":["hashtag1","hashtag2"]},{"1349856134":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349856127, 1349856147, 1349856120, 1349856138, 1349856143, 1349856134)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.21575140953064 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:34:22.630046 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_41_5794.jpg', 2), ('/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_35_6818.jpg', 2), ('/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_29_5867.jpg', 2), ('/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_23_5736.jpg', 2), ('/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_17_5726.jpg', 2), ('/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_11_6748.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_41_5794.jpg', '/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_35_6818.jpg', '/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_29_5867.jpg', '/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_23_5736.jpg', '/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_17_5726.jpg', '/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_11_6748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_41_5794.jpg /home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_35_6818.jpg /home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_29_5867.jpg /home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_23_5736.jpg /home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_17_5726.jpg /home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_11_6748.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349856289","1349856214","1349856177","1349856165","1349856255","1349856161"],"photo_ids_order":["1349856161","1349856165","1349856177","1349856214","1349856255","1349856289"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/25ed7b8278b1b3bac13ecce11d973ba0.jpg","text":"TemporaryFile(/tmp/multipartBody7271659639773333464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709724451,"filename":"image_15042025_06_42_11_6748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ef40f2598c7cbe63fb9d8f6fa8e5380.jpg","text":"TemporaryFile(/tmp/multipartBody2194391004038783286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709724451,"filename":"image_15042025_06_42_23_5736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65702f5634554d50d4314a06d15ef0c4.jpg","text":"TemporaryFile(/tmp/multipartBody1302506988317019534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709724451,"filename":"image_15042025_06_42_29_5867.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/edbaa60ff2fdb803c4ed38098514163a.jpg","text":"TemporaryFile(/tmp/multipartBody7156141297266084927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709724451,"filename":"image_15042025_06_42_35_6818.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2341c3f17e1e1925d694149cb4701084.jpg","text":"TemporaryFile(/tmp/multipartBody1508414366686971641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709724451,"filename":"image_15042025_06_42_17_5726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f3eb2b7ca886b3b1395e876db9699659.jpg","text":"TemporaryFile(/tmp/multipartBody9056673628192079683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709724451,"filename":"image_15042025_06_42_41_5794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349856177","file1":"1349856165","file0":"1349856161","file4":"1349856255","file5":"1349856289","file3":"1349856214"},"map_files_photo_id_array":[{"photo_id":"1349856289","filename":"file5"},{"photo_id":"1349856177","filename":"file2"},{"photo_id":"1349856255","filename":"file4"},{"photo_id":"1349856165","filename":"file1"},{"photo_id":"1349856161","filename":"file0"},{"photo_id":"1349856214","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349856289":["hashtag1","hashtag2"]},{"1349856214":["hashtag1","hashtag2"]},{"1349856177":["hashtag1","hashtag2"]},{"1349856165":["hashtag1","hashtag2"]},{"1349856255":["hashtag1","hashtag2"]},{"1349856161":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349856289, 1349856214, 1349856177, 1349856165, 1349856255, 1349856161)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.17432141304016 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:35:03.344607 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_04_5778.jpg', 2), ('/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_59_6002.jpg', 2), ('/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_53_5823.jpg', 2), ('/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_47_5803.jpg', 2), ('/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_41_5750.jpg', 2), ('/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_35_6719.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_04_5778.jpg', '/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_59_6002.jpg', '/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_53_5823.jpg', '/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_47_5803.jpg', '/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_41_5750.jpg', '/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_35_6719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/42/image_15042025_06_42_04_5778.jpg /home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_59_6002.jpg /home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_53_5823.jpg /home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_47_5803.jpg /home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_41_5750.jpg /home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_35_6719.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349856559","1349856448","1349856396","1349856357","1349856348","1349856500"],"photo_ids_order":["1349856348","1349856357","1349856396","1349856448","1349856500","1349856559"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/23979dffc3614806b4ba699599fdb1fc.jpg","text":"TemporaryFile(/tmp/multipartBody8145575574849247199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709765207,"filename":"image_15042025_06_41_35_6719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/481013c7853f1c7a7f9ccac4bcaafb1c.jpg","text":"TemporaryFile(/tmp/multipartBody9221889086793934794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709765207,"filename":"image_15042025_06_41_47_5803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/601af481ea278702978832dc7e95881b.jpg","text":"TemporaryFile(/tmp/multipartBody8414706800128938289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709765207,"filename":"image_15042025_06_41_53_5823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4bb56a4412c89e4a56294e3fc5534647.jpg","text":"TemporaryFile(/tmp/multipartBody85991476429482243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709765207,"filename":"image_15042025_06_41_59_6002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d4ad024fb419a78a4868d1b515cc39c5.jpg","text":"TemporaryFile(/tmp/multipartBody4697421845484928267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709765207,"filename":"image_15042025_06_42_04_5778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/400d35ca92c92f98e2d19664412b2971.jpg","text":"TemporaryFile(/tmp/multipartBody2817526294749432245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709765207,"filename":"image_15042025_06_41_41_5750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349856396","file1":"1349856357","file0":"1349856348","file4":"1349856500","file5":"1349856559","file3":"1349856448"},"map_files_photo_id_array":[{"photo_id":"1349856559","filename":"file5"},{"photo_id":"1349856396","filename":"file2"},{"photo_id":"1349856500","filename":"file4"},{"photo_id":"1349856357","filename":"file1"},{"photo_id":"1349856348","filename":"file0"},{"photo_id":"1349856448","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349856559":["hashtag1","hashtag2"]},{"1349856448":["hashtag1","hashtag2"]},{"1349856396":["hashtag1","hashtag2"]},{"1349856357":["hashtag1","hashtag2"]},{"1349856348":["hashtag1","hashtag2"]},{"1349856500":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349856559, 1349856448, 1349856396, 1349856357, 1349856348, 1349856500)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.97925353050232 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:35:42.732360 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_29_5771.jpg', 2), ('/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_23_5750.jpg', 2), ('/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_17_5749.jpg', 2), ('/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_11_6786.jpg', 2), ('/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_05_5818.jpg', 2), ('/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_59_5670.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_29_5771.jpg', '/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_23_5750.jpg', '/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_17_5749.jpg', '/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_11_6786.jpg', '/home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_05_5818.jpg', '/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_59_5670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_29_5771.jpg /home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_23_5750.jpg /home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_17_5749.jpg /home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_11_6786.jpg /home/nano/Desktop/images/15042025/06/41/image_15042025_06_41_05_5818.jpg /home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_59_5670.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349856721","1349856672","1349856681","1349856732","1349856726","1349856713"],"photo_ids_order":["1349856672","1349856681","1349856713","1349856721","1349856726","1349856732"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e236740d6e44c8f87b4cf729a244169.jpg","text":"TemporaryFile(/tmp/multipartBody6277230476943772990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709804598,"filename":"image_15042025_06_41_11_6786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ef2533e8fbca72bf6c1907fa851011f.jpg","text":"TemporaryFile(/tmp/multipartBody2450596393826164135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709804598,"filename":"image_15042025_06_41_29_5771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/515180517ec52ccbf1ef12991296f3cd.jpg","text":"TemporaryFile(/tmp/multipartBody466090118791486722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709804598,"filename":"image_15042025_06_41_23_5750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1a89e8cc3852a352a31702efa9c9d123.jpg","text":"TemporaryFile(/tmp/multipartBody1187598953749343251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709804598,"filename":"image_15042025_06_40_59_5670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/798d3ba71a906c4ea44f2021ddb7ee53.jpg","text":"TemporaryFile(/tmp/multipartBody7672534524026909292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709804598,"filename":"image_15042025_06_41_05_5818.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b8f497969b71124f643d3cd27aba516.jpg","text":"TemporaryFile(/tmp/multipartBody7016092115863445759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709804598,"filename":"image_15042025_06_41_17_5749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349856713","file1":"1349856681","file0":"1349856672","file4":"1349856726","file5":"1349856732","file3":"1349856721"},"map_files_photo_id_array":[{"photo_id":"1349856732","filename":"file5"},{"photo_id":"1349856713","filename":"file2"},{"photo_id":"1349856726","filename":"file4"},{"photo_id":"1349856681","filename":"file1"},{"photo_id":"1349856672","filename":"file0"},{"photo_id":"1349856721","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349856721":["hashtag1","hashtag2"]},{"1349856672":["hashtag1","hashtag2"]},{"1349856681":["hashtag1","hashtag2"]},{"1349856732":["hashtag1","hashtag2"]},{"1349856726":["hashtag1","hashtag2"]},{"1349856713":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349856721, 1349856672, 1349856681, 1349856732, 1349856726, 1349856713)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 34.33452343940735 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:36:21.846228 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_53_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_47_6651.jpg', 2), ('/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_41_5625.jpg', 2), ('/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_35_6637.jpg', 2), ('/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_28_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_17_6643.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_53_5640.jpg', '/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_47_6651.jpg', '/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_41_5625.jpg', '/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_35_6637.jpg', '/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_28_5629.jpg', '/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_17_6643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_53_5640.jpg /home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_47_6651.jpg /home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_41_5625.jpg /home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_35_6637.jpg /home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_28_5629.jpg /home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_17_6643.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349856844","1349856838","1349856811","1349856858","1349856851","1349856803"],"photo_ids_order":["1349856803","1349856811","1349856838","1349856844","1349856851","1349856858"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09ebc5221f02792dbf8fd33b2cdea5b3.jpg","text":"TemporaryFile(/tmp/multipartBody6246129061514001507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709843584,"filename":"image_15042025_06_40_35_6637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e28615d1e3afe296638eeb2eadec589.jpg","text":"TemporaryFile(/tmp/multipartBody6739701426042807983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709843584,"filename":"image_15042025_06_40_41_5625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc93dc2611226cfecf92343501fb1167.jpg","text":"TemporaryFile(/tmp/multipartBody4540242690818975643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709843584,"filename":"image_15042025_06_40_47_6651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7da6c967dca7760ca33ea80717d6bcb6.jpg","text":"TemporaryFile(/tmp/multipartBody8370443281328954828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709843584,"filename":"image_15042025_06_40_17_6643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c60090fe2bc876368391b737a459be7.jpg","text":"TemporaryFile(/tmp/multipartBody8521971212982385126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709843584,"filename":"image_15042025_06_40_28_5629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f28af76f8dc9d16a96398e3cbfd26069.jpg","text":"TemporaryFile(/tmp/multipartBody655200707208556838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709843584,"filename":"image_15042025_06_40_53_5640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349856838","file1":"1349856811","file0":"1349856803","file4":"1349856851","file5":"1349856858","file3":"1349856844"},"map_files_photo_id_array":[{"photo_id":"1349856858","filename":"file5"},{"photo_id":"1349856838","filename":"file2"},{"photo_id":"1349856851","filename":"file4"},{"photo_id":"1349856811","filename":"file1"},{"photo_id":"1349856803","filename":"file0"},{"photo_id":"1349856844","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349856844":["hashtag1","hashtag2"]},{"1349856838":["hashtag1","hashtag2"]},{"1349856811":["hashtag1","hashtag2"]},{"1349856858":["hashtag1","hashtag2"]},{"1349856851":["hashtag1","hashtag2"]},{"1349856803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349856844, 1349856838, 1349856811, 1349856858, 1349856851, 1349856803)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 35.43361735343933 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:37:02.579599 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_11_5653.jpg', 2), ('/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_05_5660.jpg', 2), ('/home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_59_6630.jpg', 2), ('/home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_47_5630.jpg', 2), ('/home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_41_6642.jpg', 2), ('/home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_35_5630.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_11_5653.jpg', '/home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_05_5660.jpg', '/home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_59_6630.jpg', '/home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_47_5630.jpg', '/home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_41_6642.jpg', '/home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_35_5630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_11_5653.jpg /home/nano/Desktop/images/15042025/06/40/image_15042025_06_40_05_5660.jpg /home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_59_6630.jpg /home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_47_5630.jpg /home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_41_6642.jpg /home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_35_5630.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349856900","1349856924","1349856906","1349856881","1349856959","1349856898"],"photo_ids_order":["1349856881","1349856898","1349856900","1349856906","1349856924","1349856959"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76014a7fc7ff9b3067d3c94fb4712633.jpg","text":"TemporaryFile(/tmp/multipartBody809892418197615016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709884335,"filename":"image_15042025_06_39_59_6630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ea8cf12a3c0558c553a5ed81d90726c.jpg","text":"TemporaryFile(/tmp/multipartBody7840813991890992845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709884335,"filename":"image_15042025_06_39_41_6642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/03b9d6028ab140d4f90c267b648087b3.jpg","text":"TemporaryFile(/tmp/multipartBody1148400231789846091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709884335,"filename":"image_15042025_06_39_47_5630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e39a255303ee11b8e8848c547863d6bf.jpg","text":"TemporaryFile(/tmp/multipartBody6404139112596830756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709884335,"filename":"image_15042025_06_40_11_5653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/667f62723f39e737327b720661cfddee.jpg","text":"TemporaryFile(/tmp/multipartBody7477287327229279849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709884335,"filename":"image_15042025_06_39_35_5630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34ca31509d638ec7834668cca9e3474c.jpg","text":"TemporaryFile(/tmp/multipartBody2148465907964911063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709884335,"filename":"image_15042025_06_40_05_5660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349856900","file1":"1349856898","file0":"1349856881","file4":"1349856924","file5":"1349856959","file3":"1349856906"},"map_files_photo_id_array":[{"photo_id":"1349856959","filename":"file5"},{"photo_id":"1349856900","filename":"file2"},{"photo_id":"1349856924","filename":"file4"},{"photo_id":"1349856898","filename":"file1"},{"photo_id":"1349856881","filename":"file0"},{"photo_id":"1349856906","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349856900":["hashtag1","hashtag2"]},{"1349856924":["hashtag1","hashtag2"]},{"1349856906":["hashtag1","hashtag2"]},{"1349856881":["hashtag1","hashtag2"]},{"1349856959":["hashtag1","hashtag2"]},{"1349856898":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349856900, 1349856924, 1349856906, 1349856881, 1349856959, 1349856898)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.16698598861694 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:38:02.549298 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/28/image_15042025_11_28_17_6065.jpg', 2), ('/home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_29_6638.jpg', 2), ('/home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_22_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_17_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_11_6653.jpg', 2), ('/home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_05_5661.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/28/image_15042025_11_28_17_6065.jpg', '/home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_29_6638.jpg', '/home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_22_5622.jpg', '/home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_17_5638.jpg', '/home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_11_6653.jpg', '/home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_05_5661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/28/image_15042025_11_28_17_6065.jpg /home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_29_6638.jpg /home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_22_5622.jpg /home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_17_5638.jpg /home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_11_6653.jpg /home/nano/Desktop/images/15042025/06/39/image_15042025_06_39_05_5661.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349857507","1349857309","1349857278","1349857352","1349857454","1349857411"],"photo_ids_order":["1349857278","1349857309","1349857352","1349857411","1349857454","1349857507"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97caa4fb0f0b5fcaef00c2128b2bc0c7.jpg","text":"TemporaryFile(/tmp/multipartBody6836595949374049275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709944306,"filename":"image_15042025_06_39_05_5661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4dd84eb2c4e2453983d0cb4a7d31488.jpg","text":"TemporaryFile(/tmp/multipartBody8288460096860640835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709944306,"filename":"image_15042025_06_39_29_6638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f8468e71fd6b190ddb36e8551949c08.jpg","text":"TemporaryFile(/tmp/multipartBody8011703341214218835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709944306,"filename":"image_15042025_11_28_17_6065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8761a0b9039dbb7cd3f502d5b45c2df.jpg","text":"TemporaryFile(/tmp/multipartBody4433150829305537773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709944306,"filename":"image_15042025_06_39_22_5622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5cb7f49be87d20b42aea1957161a2488.jpg","text":"TemporaryFile(/tmp/multipartBody4724823255302079148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709944306,"filename":"image_15042025_06_39_11_6653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80cb6f16ba88638fc6f250112858dc31.jpg","text":"TemporaryFile(/tmp/multipartBody2558682044919011033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709944306,"filename":"image_15042025_06_39_17_5638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349857352","file1":"1349857309","file0":"1349857278","file4":"1349857454","file5":"1349857507","file3":"1349857411"},"map_files_photo_id_array":[{"photo_id":"1349857507","filename":"file5"},{"photo_id":"1349857352","filename":"file2"},{"photo_id":"1349857454","filename":"file4"},{"photo_id":"1349857309","filename":"file1"},{"photo_id":"1349857278","filename":"file0"},{"photo_id":"1349857411","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349857507":["hashtag1","hashtag2"]},{"1349857309":["hashtag1","hashtag2"]},{"1349857278":["hashtag1","hashtag2"]},{"1349857352":["hashtag1","hashtag2"]},{"1349857454":["hashtag1","hashtag2"]},{"1349857411":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349857507, 1349857309, 1349857278, 1349857352, 1349857454, 1349857411)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.147722482681274 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:38:42.121889 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/38/image_15042025_11_38_59_6050.jpg', 2), ('/home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_59_5645.jpg', 2), ('/home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_53_6632.jpg', 2), ('/home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_47_5614.jpg', 2), ('/home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_41_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_35_6029.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/38/image_15042025_11_38_59_6050.jpg', '/home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_59_5645.jpg', '/home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_53_6632.jpg', '/home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_47_5614.jpg', '/home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_41_5639.jpg', '/home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_35_6029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/38/image_15042025_11_38_59_6050.jpg /home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_59_5645.jpg /home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_53_6632.jpg /home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_47_5614.jpg /home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_41_5639.jpg /home/nano/Desktop/images/15042025/06/38/image_15042025_06_38_35_6029.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349857689","1349857665","1349857673","1349857655","1349857681","1349857648"],"photo_ids_order":["1349857648","1349857655","1349857665","1349857673","1349857681","1349857689"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cf43523ad9fe0ebec62334cb5146c69e.jpg","text":"TemporaryFile(/tmp/multipartBody8810078033171253739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709983869,"filename":"image_15042025_06_38_35_6029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d36d86151bb1a6af663ccf0a83500553.jpg","text":"TemporaryFile(/tmp/multipartBody7416023484186418262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709983869,"filename":"image_15042025_06_38_53_6632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b72fd4ddd169c1f649ff16eb6564899a.jpg","text":"TemporaryFile(/tmp/multipartBody4357695714956606205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709983869,"filename":"image_15042025_06_38_47_5614.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e5f4cbc093e093ba06a164a0e9c37497.jpg","text":"TemporaryFile(/tmp/multipartBody699906326200198626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709983869,"filename":"image_15042025_06_38_59_5645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90dc6c6b957c30311560017235426008.jpg","text":"TemporaryFile(/tmp/multipartBody4729821045589401998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709983869,"filename":"image_15042025_06_38_41_5639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d672a0574150ad36397ad517c8a890df.jpg","text":"TemporaryFile(/tmp/multipartBody7314742700977224349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744709983869,"filename":"image_15042025_11_38_59_6050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349857665","file1":"1349857655","file0":"1349857648","file4":"1349857681","file5":"1349857689","file3":"1349857673"},"map_files_photo_id_array":[{"photo_id":"1349857689","filename":"file5"},{"photo_id":"1349857665","filename":"file2"},{"photo_id":"1349857681","filename":"file4"},{"photo_id":"1349857655","filename":"file1"},{"photo_id":"1349857648","filename":"file0"},{"photo_id":"1349857673","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349857689":["hashtag1","hashtag2"]},{"1349857665":["hashtag1","hashtag2"]},{"1349857673":["hashtag1","hashtag2"]},{"1349857655":["hashtag1","hashtag2"]},{"1349857681":["hashtag1","hashtag2"]},{"1349857648":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349857689, 1349857665, 1349857673, 1349857655, 1349857681, 1349857648)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.43485355377197 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:39:22.259774 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_35_5652.jpg', 2), ('/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_29_6627.jpg', 2), ('/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_23_5604.jpg', 2), ('/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_17_6672.jpg', 2), ('/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_11_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_05_5927.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_35_5652.jpg', '/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_29_6627.jpg', '/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_23_5604.jpg', '/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_17_6672.jpg', '/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_11_5649.jpg', '/home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_05_5927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_35_5652.jpg /home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_29_6627.jpg /home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_23_5604.jpg /home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_17_6672.jpg /home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_11_5649.jpg /home/nano/Desktop/images/15042025/06/35/image_15042025_06_35_05_5927.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349857705","1349857713","1349857722","1349857742","1349857729","1349857702"],"photo_ids_order":["1349857702","1349857705","1349857713","1349857722","1349857729","1349857742"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb334980bedb2993dd9e3e307b1e0e5d.jpg","text":"TemporaryFile(/tmp/multipartBody5192617915806724875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710024006,"filename":"image_15042025_06_35_29_6627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/09638acc4b443da7c59863a9a1c5bc50.jpg","text":"TemporaryFile(/tmp/multipartBody1667866229821959277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710024006,"filename":"image_15042025_06_35_23_5604.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71598f7166213b346c3df69457e94477.jpg","text":"TemporaryFile(/tmp/multipartBody5394573710226729046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710024006,"filename":"image_15042025_06_35_17_6672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9b46ee62d62c65380d74f9c2e9aa1d5c.jpg","text":"TemporaryFile(/tmp/multipartBody2528770681883195844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710024006,"filename":"image_15042025_06_35_05_5927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ada42ba4ba380df3ff22484703c9fbc.jpg","text":"TemporaryFile(/tmp/multipartBody309435450585755153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710024006,"filename":"image_15042025_06_35_11_5649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3cc898846fc95b496f242c1755703d6.jpg","text":"TemporaryFile(/tmp/multipartBody8180582171701387210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710024006,"filename":"image_15042025_06_35_35_5652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349857713","file1":"1349857705","file0":"1349857702","file4":"1349857729","file5":"1349857742","file3":"1349857722"},"map_files_photo_id_array":[{"photo_id":"1349857742","filename":"file5"},{"photo_id":"1349857713","filename":"file2"},{"photo_id":"1349857729","filename":"file4"},{"photo_id":"1349857705","filename":"file1"},{"photo_id":"1349857702","filename":"file0"},{"photo_id":"1349857722","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349857705":["hashtag1","hashtag2"]},{"1349857713":["hashtag1","hashtag2"]},{"1349857722":["hashtag1","hashtag2"]},{"1349857742":["hashtag1","hashtag2"]},{"1349857729":["hashtag1","hashtag2"]},{"1349857702":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349857705, 1349857713, 1349857722, 1349857742, 1349857729, 1349857702)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.88524508476257 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:40:02.913641 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_53_5647.jpg', 2), ('/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_47_6825.jpg', 2), ('/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_41_5769.jpg', 2), ('/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_35_5810.jpg', 2), ('/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_29_5953.jpg', 2), ('/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_17_5785.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_53_5647.jpg', '/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_47_6825.jpg', '/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_41_5769.jpg', '/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_35_5810.jpg', '/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_29_5953.jpg', '/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_17_5785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_53_5647.jpg /home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_47_6825.jpg /home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_41_5769.jpg /home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_35_5810.jpg /home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_29_5953.jpg /home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_17_5785.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349857764","1349857833","1349857812","1349857820","1349857774","1349857843"],"photo_ids_order":["1349857764","1349857774","1349857812","1349857820","1349857833","1349857843"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a55931e0b3b155b82c2108f35ff15e4b.jpg","text":"TemporaryFile(/tmp/multipartBody1857326266475728664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710064842,"filename":"image_15042025_06_34_53_5647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f5c8b83b4c926bd4aa93c2e12f5ebfe.jpg","text":"TemporaryFile(/tmp/multipartBody3866996868556477735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710064842,"filename":"image_15042025_06_34_29_5953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/79390d7227f58f9246884cb9dd3ce264.jpg","text":"TemporaryFile(/tmp/multipartBody7175700461029235059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710064842,"filename":"image_15042025_06_34_41_5769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3fcb85e6772e2d9992d220960cfdd38c.jpg","text":"TemporaryFile(/tmp/multipartBody4751689635063065836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710064842,"filename":"image_15042025_06_34_35_5810.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cec854b5cbe8b7b450f0a49f28f5ffc3.jpg","text":"TemporaryFile(/tmp/multipartBody5816491611368518957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710064842,"filename":"image_15042025_06_34_47_6825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c8170e8ad35851df0874ff12ef2435f1.jpg","text":"TemporaryFile(/tmp/multipartBody5324098203667982948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710064842,"filename":"image_15042025_06_34_17_5785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349857812","file1":"1349857774","file0":"1349857764","file4":"1349857833","file5":"1349857843","file3":"1349857820"},"map_files_photo_id_array":[{"photo_id":"1349857843","filename":"file5"},{"photo_id":"1349857812","filename":"file2"},{"photo_id":"1349857833","filename":"file4"},{"photo_id":"1349857774","filename":"file1"},{"photo_id":"1349857764","filename":"file0"},{"photo_id":"1349857820","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349857764":["hashtag1","hashtag2"]},{"1349857833":["hashtag1","hashtag2"]},{"1349857812":["hashtag1","hashtag2"]},{"1349857820":["hashtag1","hashtag2"]},{"1349857774":["hashtag1","hashtag2"]},{"1349857843":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349857764, 1349857833, 1349857812, 1349857820, 1349857774, 1349857843)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 45.345810413360596 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:41:03.043289 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_11_5786.jpg', 2), ('/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_05_6855.jpg', 2), ('/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_59_5882.jpg', 2), ('/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_53_5965.jpg', 2), ('/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_41_5773.jpg', 2), ('/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_35_5828.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_11_5786.jpg', '/home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_05_6855.jpg', '/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_59_5882.jpg', '/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_53_5965.jpg', '/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_41_5773.jpg', '/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_35_5828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_11_5786.jpg /home/nano/Desktop/images/15042025/06/34/image_15042025_06_34_05_6855.jpg /home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_59_5882.jpg /home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_53_5965.jpg /home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_41_5773.jpg /home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_35_5828.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349857903","1349857883","1349857889","1349857894","1349857909","1349857899"],"photo_ids_order":["1349857883","1349857889","1349857894","1349857899","1349857903","1349857909"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d79181748df231bf12ecc3c7d7dad371.jpg","text":"TemporaryFile(/tmp/multipartBody2428851096344611483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710124896,"filename":"image_15042025_06_33_41_5773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b866a3b54d5d6ba1e21f926772229f84.jpg","text":"TemporaryFile(/tmp/multipartBody7867994373516223942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710124896,"filename":"image_15042025_06_34_11_5786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e30033d81255507c906a0715102f1f7e.jpg","text":"TemporaryFile(/tmp/multipartBody4784605553892230516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710124896,"filename":"image_15042025_06_34_05_6855.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1b44d5d567c99114fbcf4745e8833e66.jpg","text":"TemporaryFile(/tmp/multipartBody7595832239844526216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710124896,"filename":"image_15042025_06_33_59_5882.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/12acf61835814a4e2a8fafa1fa8d1656.jpg","text":"TemporaryFile(/tmp/multipartBody5885526724909137391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710124896,"filename":"image_15042025_06_33_35_5828.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/095d5bf285470cca4444a4ec5b687101.jpg","text":"TemporaryFile(/tmp/multipartBody438174205965455381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710124896,"filename":"image_15042025_06_33_53_5965.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349857894","file1":"1349857889","file0":"1349857883","file4":"1349857903","file5":"1349857909","file3":"1349857899"},"map_files_photo_id_array":[{"photo_id":"1349857909","filename":"file5"},{"photo_id":"1349857894","filename":"file2"},{"photo_id":"1349857903","filename":"file4"},{"photo_id":"1349857889","filename":"file1"},{"photo_id":"1349857883","filename":"file0"},{"photo_id":"1349857899","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349857903":["hashtag1","hashtag2"]},{"1349857883":["hashtag1","hashtag2"]},{"1349857889":["hashtag1","hashtag2"]},{"1349857894":["hashtag1","hashtag2"]},{"1349857909":["hashtag1","hashtag2"]},{"1349857899":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349857903, 1349857883, 1349857889, 1349857894, 1349857909, 1349857899)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.920145988464355 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:41:42.467486 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_29_5791.jpg', 2), ('/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_23_6781.jpg', 2), ('/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_17_5980.jpg', 2), ('/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_04_5759.jpg', 2), ('/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_59_5759.jpg', 2), ('/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_53_5788.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_29_5791.jpg', '/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_23_6781.jpg', '/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_17_5980.jpg', '/home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_04_5759.jpg', '/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_59_5759.jpg', '/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_53_5788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_29_5791.jpg /home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_23_6781.jpg /home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_17_5980.jpg /home/nano/Desktop/images/15042025/06/33/image_15042025_06_33_04_5759.jpg /home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_59_5759.jpg /home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_53_5788.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349857971","1349857932","1349857946","1349857940","1349857958","1349857963"],"photo_ids_order":["1349857932","1349857940","1349857946","1349857958","1349857963","1349857971"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34fe5dfdb2af2095719a39388f051de8.jpg","text":"TemporaryFile(/tmp/multipartBody3423921796856637539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710164355,"filename":"image_15042025_06_32_53_5788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/91583a9a575faed1ca48c55f48d4ae3e.jpg","text":"TemporaryFile(/tmp/multipartBody2106827843201641066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710164355,"filename":"image_15042025_06_33_29_5791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87922d4c80757f281fce4558f654c454.jpg","text":"TemporaryFile(/tmp/multipartBody361538166363940639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710164355,"filename":"image_15042025_06_33_17_5980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b65926b7d33d45ab7886b005a1008c40.jpg","text":"TemporaryFile(/tmp/multipartBody2032855716338272487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710164355,"filename":"image_15042025_06_33_23_6781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fdb0c5ff53136ee35b7fe3ed4b6cdcf9.jpg","text":"TemporaryFile(/tmp/multipartBody3946855473346262672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710164355,"filename":"image_15042025_06_33_04_5759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43b43a936f85b8f9f2660950792eb6c7.jpg","text":"TemporaryFile(/tmp/multipartBody343185605521339284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710164355,"filename":"image_15042025_06_32_59_5759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349857946","file1":"1349857940","file0":"1349857932","file4":"1349857963","file5":"1349857971","file3":"1349857958"},"map_files_photo_id_array":[{"photo_id":"1349857971","filename":"file5"},{"photo_id":"1349857946","filename":"file2"},{"photo_id":"1349857963","filename":"file4"},{"photo_id":"1349857940","filename":"file1"},{"photo_id":"1349857932","filename":"file0"},{"photo_id":"1349857958","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349857971":["hashtag1","hashtag2"]},{"1349857932":["hashtag1","hashtag2"]},{"1349857946":["hashtag1","hashtag2"]},{"1349857940":["hashtag1","hashtag2"]},{"1349857958":["hashtag1","hashtag2"]},{"1349857963":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349857971, 1349857932, 1349857946, 1349857940, 1349857958, 1349857963)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 38.26644968986511 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:42:22.606985 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_47_5832.jpg', 2), ('/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_41_6821.jpg', 2), ('/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_34_5819.jpg', 2), ('/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_29_6105.jpg', 2), ('/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_23_5897.jpg', 2), ('/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_17_5914.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_47_5832.jpg', '/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_41_6821.jpg', '/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_34_5819.jpg', '/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_29_6105.jpg', '/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_23_5897.jpg', '/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_17_5914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_47_5832.jpg /home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_41_6821.jpg /home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_34_5819.jpg /home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_29_6105.jpg /home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_23_5897.jpg /home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_17_5914.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349858181","1349858022","1349858225","1349858126","1349858234","1349858199"],"photo_ids_order":["1349858022","1349858126","1349858181","1349858199","1349858225","1349858234"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e3fd97579181c0c3fc25715d634633cd.jpg","text":"TemporaryFile(/tmp/multipartBody8265132663733847522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710204463,"filename":"image_15042025_06_32_34_5819.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f15f9c7bb7fc3be45a1e949424cddab5.jpg","text":"TemporaryFile(/tmp/multipartBody9147218338994678410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710204463,"filename":"image_15042025_06_32_47_5832.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3175efa61eb7b41a716af5b414a44606.jpg","text":"TemporaryFile(/tmp/multipartBody193806209629499039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710204463,"filename":"image_15042025_06_32_23_5897.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7065f60d345b654e0d382c2319f52170.jpg","text":"TemporaryFile(/tmp/multipartBody6537701627417652585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710204463,"filename":"image_15042025_06_32_41_6821.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0f351e235866d3749df5734665f4ed68.jpg","text":"TemporaryFile(/tmp/multipartBody7717117836941583807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710204463,"filename":"image_15042025_06_32_17_5914.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/244ae8f82bf95bca530493f49295ba0e.jpg","text":"TemporaryFile(/tmp/multipartBody59908390242658711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710204463,"filename":"image_15042025_06_32_29_6105.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349858181","file1":"1349858126","file0":"1349858022","file4":"1349858225","file5":"1349858234","file3":"1349858199"},"map_files_photo_id_array":[{"photo_id":"1349858234","filename":"file5"},{"photo_id":"1349858181","filename":"file2"},{"photo_id":"1349858225","filename":"file4"},{"photo_id":"1349858126","filename":"file1"},{"photo_id":"1349858022","filename":"file0"},{"photo_id":"1349858199","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349858181":["hashtag1","hashtag2"]},{"1349858022":["hashtag1","hashtag2"]},{"1349858225":["hashtag1","hashtag2"]},{"1349858126":["hashtag1","hashtag2"]},{"1349858234":["hashtag1","hashtag2"]},{"1349858199":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349858181, 1349858022, 1349858225, 1349858126, 1349858234, 1349858199)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.96897101402283 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:43:03.266617 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/43/image_15042025_11_43_59_6078.jpg', 2), ('/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_11_5857.jpg', 2), ('/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_05_5880.jpg', 2), ('/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_59_5851.jpg', 2), ('/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_53_5825.jpg', 2), ('/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_47_6774.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/43/image_15042025_11_43_59_6078.jpg', '/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_11_5857.jpg', '/home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_05_5880.jpg', '/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_59_5851.jpg', '/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_53_5825.jpg', '/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_47_6774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/43/image_15042025_11_43_59_6078.jpg /home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_11_5857.jpg /home/nano/Desktop/images/15042025/06/32/image_15042025_06_32_05_5880.jpg /home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_59_5851.jpg /home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_53_5825.jpg /home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_47_6774.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349858274","1349858262","1349858267","1349858272","1349858281","1349858311"],"photo_ids_order":["1349858262","1349858267","1349858272","1349858274","1349858281","1349858311"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a95ca92e95024f696dfb403342925b78.jpg","text":"TemporaryFile(/tmp/multipartBody5319472104640272227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710245154,"filename":"image_15042025_06_31_59_5851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4143a7c0ea570353fcecc4bf913f44c9.jpg","text":"TemporaryFile(/tmp/multipartBody8896367265249984836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710245154,"filename":"image_15042025_11_43_59_6078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/968901f75c3c543e71ef91cbc784b5c3.jpg","text":"TemporaryFile(/tmp/multipartBody3526839714673818801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710245154,"filename":"image_15042025_06_32_11_5857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/38986ea1badba558e88b6982c23ce31f.jpg","text":"TemporaryFile(/tmp/multipartBody8302756295548980890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710245154,"filename":"image_15042025_06_32_05_5880.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eeb2e9fed964cdf90a8e5a688a82c5ed.jpg","text":"TemporaryFile(/tmp/multipartBody7606431605731084197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710245154,"filename":"image_15042025_06_31_53_5825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1346935ee991096fc6692b9ba83586d4.jpg","text":"TemporaryFile(/tmp/multipartBody2017134116521287205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710245154,"filename":"image_15042025_06_31_47_6774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349858272","file1":"1349858267","file0":"1349858262","file4":"1349858281","file5":"1349858311","file3":"1349858274"},"map_files_photo_id_array":[{"photo_id":"1349858311","filename":"file5"},{"photo_id":"1349858272","filename":"file2"},{"photo_id":"1349858281","filename":"file4"},{"photo_id":"1349858267","filename":"file1"},{"photo_id":"1349858262","filename":"file0"},{"photo_id":"1349858274","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349858274":["hashtag1","hashtag2"]},{"1349858262":["hashtag1","hashtag2"]},{"1349858267":["hashtag1","hashtag2"]},{"1349858272":["hashtag1","hashtag2"]},{"1349858281":["hashtag1","hashtag2"]},{"1349858311":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349858274, 1349858262, 1349858267, 1349858272, 1349858281, 1349858311)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.075035095214844 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:44:02.564096 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_41_5625.jpg', 2), ('/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_35_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_29_6628.jpg', 2), ('/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_23_5643.jpg', 2), ('/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_17_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_11_6651.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_41_5625.jpg', '/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_35_5622.jpg', '/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_29_6628.jpg', '/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_23_5643.jpg', '/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_17_5622.jpg', '/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_11_6651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_41_5625.jpg /home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_35_5622.jpg /home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_29_6628.jpg /home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_23_5643.jpg /home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_17_5622.jpg /home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_11_6651.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349858498","1349858442","1349858384","1349858351","1349858411","1349858473"],"photo_ids_order":["1349858351","1349858384","1349858411","1349858442","1349858473","1349858498"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3583174a4f5e56fccc887a04c9da5c4c.jpg","text":"TemporaryFile(/tmp/multipartBody6394263041531044632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710304368,"filename":"image_15042025_06_31_11_6651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a18f77a821797a8f7c2cca0861c72ad.jpg","text":"TemporaryFile(/tmp/multipartBody752386032077599046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710304368,"filename":"image_15042025_06_31_23_5643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/416688d915ea3ca75b56908c31d9dc24.jpg","text":"TemporaryFile(/tmp/multipartBody7887473602801122100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710304368,"filename":"image_15042025_06_31_35_5622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6be67b8fd6d661ecbf951289c9a68a4f.jpg","text":"TemporaryFile(/tmp/multipartBody2887232700888605423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710304368,"filename":"image_15042025_06_31_41_5625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/162e8b610d1c86a3e0e8c77bd28f1a28.jpg","text":"TemporaryFile(/tmp/multipartBody8594849449383930095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710304368,"filename":"image_15042025_06_31_29_6628.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0cfa2d0ecb3406a3878faf1e78cb5204.jpg","text":"TemporaryFile(/tmp/multipartBody8777622753584762170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710304368,"filename":"image_15042025_06_31_17_5622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349858411","file1":"1349858384","file0":"1349858351","file4":"1349858473","file5":"1349858498","file3":"1349858442"},"map_files_photo_id_array":[{"photo_id":"1349858498","filename":"file5"},{"photo_id":"1349858411","filename":"file2"},{"photo_id":"1349858473","filename":"file4"},{"photo_id":"1349858384","filename":"file1"},{"photo_id":"1349858351","filename":"file0"},{"photo_id":"1349858442","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349858498":["hashtag1","hashtag2"]},{"1349858442":["hashtag1","hashtag2"]},{"1349858384":["hashtag1","hashtag2"]},{"1349858351":["hashtag1","hashtag2"]},{"1349858411":["hashtag1","hashtag2"]},{"1349858473":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349858498, 1349858442, 1349858384, 1349858351, 1349858411, 1349858473)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.216598987579346 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:44:41.893682 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_05_5641.jpg', 2), ('/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_59_6640.jpg', 2), ('/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_52_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_47_5690.jpg', 2), ('/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_41_6694.jpg', 2), ('/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_34_5642.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_05_5641.jpg', '/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_59_6640.jpg', '/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_52_5642.jpg', '/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_47_5690.jpg', '/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_41_6694.jpg', '/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_34_5642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/31/image_15042025_06_31_05_5641.jpg /home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_59_6640.jpg /home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_52_5642.jpg /home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_47_5690.jpg /home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_41_6694.jpg /home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_34_5642.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349858547","1349858535","1349858558","1349858528","1349858554","1349858521"],"photo_ids_order":["1349858521","1349858528","1349858535","1349858547","1349858554","1349858558"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0df48cb31c80611566c9b7a2dbd9fa0a.jpg","text":"TemporaryFile(/tmp/multipartBody7862097810155290547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710343636,"filename":"image_15042025_06_30_47_5690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/74aeaed11b5a31d7e0b1266451be915d.jpg","text":"TemporaryFile(/tmp/multipartBody1654433604558848815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710343636,"filename":"image_15042025_06_30_52_5642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ffab6d83ea4c767f76f79db6e12d470.jpg","text":"TemporaryFile(/tmp/multipartBody2261278889206626744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710343636,"filename":"image_15042025_06_30_34_5642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e533f193e229d1999f7a42786d535e4c.jpg","text":"TemporaryFile(/tmp/multipartBody8640219284223153018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710343636,"filename":"image_15042025_06_30_59_6640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3441d9ef21035a5de573b304990ccb9d.jpg","text":"TemporaryFile(/tmp/multipartBody1069596279340455628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710343636,"filename":"image_15042025_06_30_41_6694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b09a439663a1b8100458710944ca860a.jpg","text":"TemporaryFile(/tmp/multipartBody4821614480427491662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710343636,"filename":"image_15042025_06_31_05_5641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349858535","file1":"1349858528","file0":"1349858521","file4":"1349858554","file5":"1349858558","file3":"1349858547"},"map_files_photo_id_array":[{"photo_id":"1349858558","filename":"file5"},{"photo_id":"1349858535","filename":"file2"},{"photo_id":"1349858554","filename":"file4"},{"photo_id":"1349858528","filename":"file1"},{"photo_id":"1349858521","filename":"file0"},{"photo_id":"1349858547","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349858547":["hashtag1","hashtag2"]},{"1349858535":["hashtag1","hashtag2"]},{"1349858558":["hashtag1","hashtag2"]},{"1349858528":["hashtag1","hashtag2"]},{"1349858554":["hashtag1","hashtag2"]},{"1349858521":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349858547, 1349858535, 1349858558, 1349858528, 1349858554, 1349858521)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 35.768120765686035 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:45:22.054733 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_29_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_23_6659.jpg', 2), ('/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_17_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_11_5647.jpg', 2), ('/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_05_6631.jpg', 2), ('/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_59_5605.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_29_5638.jpg', '/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_23_6659.jpg', '/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_17_5637.jpg', '/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_11_5647.jpg', '/home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_05_6631.jpg', '/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_59_5605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_29_5638.jpg /home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_23_6659.jpg /home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_17_5637.jpg /home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_11_5647.jpg /home/nano/Desktop/images/15042025/06/30/image_15042025_06_30_05_6631.jpg /home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_59_5605.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349858802","1349858780","1349858747","1349858822","1349858809","1349858793"],"photo_ids_order":["1349858747","1349858780","1349858793","1349858802","1349858809","1349858822"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9abc2f0f67ed2fb8ba43dc0b24f405f9.jpg","text":"TemporaryFile(/tmp/multipartBody8471091416856412611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710383794,"filename":"image_15042025_06_30_11_5647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df54dc5fc3837eebcbfd38f29cc0fbf9.jpg","text":"TemporaryFile(/tmp/multipartBody593712814398430712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710383794,"filename":"image_15042025_06_30_23_6659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c8653eaddb3e32dff845df7750445e9.jpg","text":"TemporaryFile(/tmp/multipartBody4864706614172084950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710383794,"filename":"image_15042025_06_30_29_5638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/236dcd7943619b5ce4d64d7538b513ad.jpg","text":"TemporaryFile(/tmp/multipartBody3618139755015161363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710383794,"filename":"image_15042025_06_29_59_5605.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fe8d014ab5e6e03aef1401a6703291de.jpg","text":"TemporaryFile(/tmp/multipartBody4209992526766388304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710383794,"filename":"image_15042025_06_30_05_6631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de432b704680fdeea660155345733d22.jpg","text":"TemporaryFile(/tmp/multipartBody6392894024644867160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710383794,"filename":"image_15042025_06_30_17_5637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349858793","file1":"1349858780","file0":"1349858747","file4":"1349858809","file5":"1349858822","file3":"1349858802"},"map_files_photo_id_array":[{"photo_id":"1349858822","filename":"file5"},{"photo_id":"1349858793","filename":"file2"},{"photo_id":"1349858809","filename":"file4"},{"photo_id":"1349858780","filename":"file1"},{"photo_id":"1349858747","filename":"file0"},{"photo_id":"1349858802","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349858802":["hashtag1","hashtag2"]},{"1349858780":["hashtag1","hashtag2"]},{"1349858747":["hashtag1","hashtag2"]},{"1349858822":["hashtag1","hashtag2"]},{"1349858809":["hashtag1","hashtag2"]},{"1349858793":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349858802, 1349858780, 1349858747, 1349858822, 1349858809, 1349858793)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 34.20369100570679 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:46:02.898670 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_53_5664.jpg', 2), ('/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_47_6670.jpg', 2), ('/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_41_5611.jpg', 2), ('/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_29_6643.jpg', 2), ('/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_23_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_17_6653.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_53_5664.jpg', '/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_47_6670.jpg', '/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_41_5611.jpg', '/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_29_6643.jpg', '/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_23_5626.jpg', '/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_17_6653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_53_5664.jpg /home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_47_6670.jpg /home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_41_5611.jpg /home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_29_6643.jpg /home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_23_5626.jpg /home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_17_6653.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349858951","1349858954","1349858915","1349858906","1349858959","1349858923"],"photo_ids_order":["1349858906","1349858915","1349858923","1349858951","1349858954","1349858959"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cdfc096e14119af9efbaafd0a3e8b390.jpg","text":"TemporaryFile(/tmp/multipartBody5760328691898365214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710424635,"filename":"image_15042025_06_29_29_6643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d90318b0ebd16a0caf8eb442a6cb0bc.jpg","text":"TemporaryFile(/tmp/multipartBody2445696938947648982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710424635,"filename":"image_15042025_06_29_23_5626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ce28be8fb91df42582ae79c52ce998d3.jpg","text":"TemporaryFile(/tmp/multipartBody8636473066301606693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710424635,"filename":"image_15042025_06_29_47_6670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1a0ef3b33520abb41f18b1cdd3209cd6.jpg","text":"TemporaryFile(/tmp/multipartBody1917297004309696884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710424635,"filename":"image_15042025_06_29_53_5664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26f1374b6b2d949a3ee1eff229903fa6.jpg","text":"TemporaryFile(/tmp/multipartBody7149033689477142531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710424635,"filename":"image_15042025_06_29_17_6653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2736eae6b228b3aa42c833591d0e075e.jpg","text":"TemporaryFile(/tmp/multipartBody5428390464202762740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710424635,"filename":"image_15042025_06_29_41_5611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349858923","file1":"1349858915","file0":"1349858906","file4":"1349858954","file5":"1349858959","file3":"1349858951"},"map_files_photo_id_array":[{"photo_id":"1349858959","filename":"file5"},{"photo_id":"1349858923","filename":"file2"},{"photo_id":"1349858954","filename":"file4"},{"photo_id":"1349858915","filename":"file1"},{"photo_id":"1349858906","filename":"file0"},{"photo_id":"1349858951","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349858951":["hashtag1","hashtag2"]},{"1349858954":["hashtag1","hashtag2"]},{"1349858915":["hashtag1","hashtag2"]},{"1349858906":["hashtag1","hashtag2"]},{"1349858959":["hashtag1","hashtag2"]},{"1349858923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349858951, 1349858954, 1349858915, 1349858906, 1349858959, 1349858923)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.686323404312134 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:46:42.227960 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/37/image_15042025_11_37_40_5106.jpg', 2), ('/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_10_5688.jpg', 2), ('/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_05_5648.jpg', 2), ('/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_59_6630.jpg', 2), ('/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_53_5630.jpg', 2), ('/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_47_5810.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/37/image_15042025_11_37_40_5106.jpg', '/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_10_5688.jpg', '/home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_05_5648.jpg', '/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_59_6630.jpg', '/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_53_5630.jpg', '/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_47_5810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/37/image_15042025_11_37_40_5106.jpg /home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_10_5688.jpg /home/nano/Desktop/images/15042025/06/29/image_15042025_06_29_05_5648.jpg /home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_59_6630.jpg /home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_53_5630.jpg /home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_47_5810.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349859004","1349859001","1349858997","1349858991","1349858985","1349859009"],"photo_ids_order":["1349858985","1349858991","1349858997","1349859001","1349859004","1349859009"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/80714594d297307d111621a34493ff89.jpg","text":"TemporaryFile(/tmp/multipartBody6071959037322350645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710464005,"filename":"image_15042025_06_28_53_5630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0118274a81315a404c687cc6bc4d23a1.jpg","text":"TemporaryFile(/tmp/multipartBody5126414046851167251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710464005,"filename":"image_15042025_06_28_59_6630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f8ff3986dabb24a08ba5798a8f4ccb8.jpg","text":"TemporaryFile(/tmp/multipartBody2995008898355675667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710464005,"filename":"image_15042025_06_29_05_5648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6905ea61bb2245df3658e578cd879263.jpg","text":"TemporaryFile(/tmp/multipartBody9181854066956209075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710464005,"filename":"image_15042025_06_29_10_5688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f9341b0d1b94ee9d4a8029459bf0dc60.jpg","text":"TemporaryFile(/tmp/multipartBody8221863206957225657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710464005,"filename":"image_15042025_11_37_40_5106.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/60fd9cce9b78952efa8d99d246ede943.jpg","text":"TemporaryFile(/tmp/multipartBody8330415982854773737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710464005,"filename":"image_15042025_06_28_47_5810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349858997","file1":"1349858991","file0":"1349858985","file4":"1349859004","file5":"1349859009","file3":"1349859001"},"map_files_photo_id_array":[{"photo_id":"1349859009","filename":"file5"},{"photo_id":"1349858997","filename":"file2"},{"photo_id":"1349859004","filename":"file4"},{"photo_id":"1349858991","filename":"file1"},{"photo_id":"1349858985","filename":"file0"},{"photo_id":"1349859001","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349859004":["hashtag1","hashtag2"]},{"1349859001":["hashtag1","hashtag2"]},{"1349858997":["hashtag1","hashtag2"]},{"1349858991":["hashtag1","hashtag2"]},{"1349858985":["hashtag1","hashtag2"]},{"1349859009":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349859004, 1349859001, 1349858997, 1349858991, 1349858985, 1349859009)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.87098979949951 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:47:22.311633 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_35_6752.jpg', 2), ('/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_28_5722.jpg', 2), ('/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_23_5744.jpg', 2), ('/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_17_5926.jpg', 2), ('/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_11_6043.jpg', 2), ('/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_05_5792.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_35_6752.jpg', '/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_28_5722.jpg', '/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_23_5744.jpg', '/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_17_5926.jpg', '/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_11_6043.jpg', '/home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_05_5792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_35_6752.jpg /home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_28_5722.jpg /home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_23_5744.jpg /home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_17_5926.jpg /home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_11_6043.jpg /home/nano/Desktop/images/15042025/06/28/image_15042025_06_28_05_5792.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349859041","1349859023","1349859034","1349859046","1349859028","1349859054"],"photo_ids_order":["1349859023","1349859028","1349859034","1349859041","1349859046","1349859054"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/284fa6d48964f69e3f43c6bd369d7e87.jpg","text":"TemporaryFile(/tmp/multipartBody1180526878476911322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710504157,"filename":"image_15042025_06_28_17_5926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/63203511ab0ecdd0bb651ba272730fed.jpg","text":"TemporaryFile(/tmp/multipartBody4695197714465173104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710504157,"filename":"image_15042025_06_28_35_6752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c613da4ad2e33386811b0fc2f56c851.jpg","text":"TemporaryFile(/tmp/multipartBody3219729248265674738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710504157,"filename":"image_15042025_06_28_23_5744.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ca4605927176803770e891de5e77995.jpg","text":"TemporaryFile(/tmp/multipartBody4374155538009347156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710504157,"filename":"image_15042025_06_28_11_6043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7353f1d25d6daf7953695559395aad5d.jpg","text":"TemporaryFile(/tmp/multipartBody7960959818035213091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710504157,"filename":"image_15042025_06_28_28_5722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59cf32e38774222966cf7ef5fddd1840.jpg","text":"TemporaryFile(/tmp/multipartBody5235438352470317271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710504157,"filename":"image_15042025_06_28_05_5792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859034","file1":"1349859028","file0":"1349859023","file4":"1349859046","file5":"1349859054","file3":"1349859041"},"map_files_photo_id_array":[{"photo_id":"1349859054","filename":"file5"},{"photo_id":"1349859034","filename":"file2"},{"photo_id":"1349859046","filename":"file4"},{"photo_id":"1349859028","filename":"file1"},{"photo_id":"1349859023","filename":"file0"},{"photo_id":"1349859041","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349859041":["hashtag1","hashtag2"]},{"1349859023":["hashtag1","hashtag2"]},{"1349859034":["hashtag1","hashtag2"]},{"1349859046":["hashtag1","hashtag2"]},{"1349859028":["hashtag1","hashtag2"]},{"1349859054":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349859041, 1349859023, 1349859034, 1349859046, 1349859028, 1349859054)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.22469425201416 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:48:03.154362 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_59_6786.jpg', 2), ('/home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_52_5741.jpg', 2), ('/home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_47_5764.jpg', 2), ('/home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_41_5793.jpg', 2), ('/home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_35_6024.jpg', 2), ('/home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_23_5755.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_59_6786.jpg', '/home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_52_5741.jpg', '/home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_47_5764.jpg', '/home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_41_5793.jpg', '/home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_35_6024.jpg', '/home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_23_5755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_59_6786.jpg /home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_52_5741.jpg /home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_47_5764.jpg /home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_41_5793.jpg /home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_35_6024.jpg /home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_23_5755.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349859102","1349859098","1349859107","1349859085","1349859094","1349859090"],"photo_ids_order":["1349859085","1349859090","1349859094","1349859098","1349859102","1349859107"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9dc911d62a405d1558b19565705258a4.jpg","text":"TemporaryFile(/tmp/multipartBody5850484063854030294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710544988,"filename":"image_15042025_06_27_35_6024.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8b183c757275774bb9c9febf50985404.jpg","text":"TemporaryFile(/tmp/multipartBody6515457386733458921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710544988,"filename":"image_15042025_06_27_41_5793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/461193599ab74f36b41f583bee272744.jpg","text":"TemporaryFile(/tmp/multipartBody1708651164883858019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710544988,"filename":"image_15042025_06_27_23_5755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00a3173dee40d17eaf70b817092c292e.jpg","text":"TemporaryFile(/tmp/multipartBody7049618870905393747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710544988,"filename":"image_15042025_06_27_59_6786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8b7be8c441295d0a62472ac2055a64b.jpg","text":"TemporaryFile(/tmp/multipartBody2291386857017056487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710544988,"filename":"image_15042025_06_27_47_5764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0db96a8a82e6fa94e01967f44eee9aef.jpg","text":"TemporaryFile(/tmp/multipartBody3762939098416310439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710544988,"filename":"image_15042025_06_27_52_5741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859094","file1":"1349859090","file0":"1349859085","file4":"1349859102","file5":"1349859107","file3":"1349859098"},"map_files_photo_id_array":[{"photo_id":"1349859107","filename":"file5"},{"photo_id":"1349859094","filename":"file2"},{"photo_id":"1349859102","filename":"file4"},{"photo_id":"1349859090","filename":"file1"},{"photo_id":"1349859085","filename":"file0"},{"photo_id":"1349859098","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349859102":["hashtag1","hashtag2"]},{"1349859098":["hashtag1","hashtag2"]},{"1349859107":["hashtag1","hashtag2"]},{"1349859085":["hashtag1","hashtag2"]},{"1349859094":["hashtag1","hashtag2"]},{"1349859090":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349859102, 1349859098, 1349859107, 1349859085, 1349859094, 1349859090)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.954872608184814 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:48:42.478512 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/48/image_15042025_11_48_59_6090.jpg', 2), ('/home/nano/Desktop/images/15042025/11/46/image_15042025_11_46_17_6023.jpg', 2), ('/home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_17_6796.jpg', 2), ('/home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_11_5834.jpg', 2), ('/home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_05_5855.jpg', 2), ('/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_59_5754.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/48/image_15042025_11_48_59_6090.jpg', '/home/nano/Desktop/images/15042025/11/46/image_15042025_11_46_17_6023.jpg', '/home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_17_6796.jpg', '/home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_11_5834.jpg', '/home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_05_5855.jpg', '/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_59_5754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/48/image_15042025_11_48_59_6090.jpg /home/nano/Desktop/images/15042025/11/46/image_15042025_11_46_17_6023.jpg /home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_17_6796.jpg /home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_11_5834.jpg /home/nano/Desktop/images/15042025/06/27/image_15042025_06_27_05_5855.jpg /home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_59_5754.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349859138","1349859151","1349859160","1349859157","1349859145","1349859130"],"photo_ids_order":["1349859130","1349859138","1349859145","1349859151","1349859157","1349859160"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/240f53dc2c05e3c0d5d0cf660aca8522.jpg","text":"TemporaryFile(/tmp/multipartBody1147338929350580461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710584318,"filename":"image_15042025_11_46_17_6023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8baf5add71d7b96893403b99482582f5.jpg","text":"TemporaryFile(/tmp/multipartBody7586307109810755097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710584318,"filename":"image_15042025_06_27_11_5834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/100a27b6550872a62359839e41df936e.jpg","text":"TemporaryFile(/tmp/multipartBody3482077734898792253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710584318,"filename":"image_15042025_06_26_59_5754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26b964e86252916c33dd14d7a16e681d.jpg","text":"TemporaryFile(/tmp/multipartBody2749173353512633408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710584318,"filename":"image_15042025_06_27_05_5855.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d690b1d7f0494611dc2c5c79c33eb41.jpg","text":"TemporaryFile(/tmp/multipartBody6652509084575274277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710584318,"filename":"image_15042025_06_27_17_6796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3996ef4461c37d49bdc6d5da53097781.jpg","text":"TemporaryFile(/tmp/multipartBody3372270126860061437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710584318,"filename":"image_15042025_11_48_59_6090.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859145","file1":"1349859138","file0":"1349859130","file4":"1349859157","file5":"1349859160","file3":"1349859151"},"map_files_photo_id_array":[{"photo_id":"1349859160","filename":"file5"},{"photo_id":"1349859145","filename":"file2"},{"photo_id":"1349859157","filename":"file4"},{"photo_id":"1349859138","filename":"file1"},{"photo_id":"1349859130","filename":"file0"},{"photo_id":"1349859151","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349859138":["hashtag1","hashtag2"]},{"1349859151":["hashtag1","hashtag2"]},{"1349859160":["hashtag1","hashtag2"]},{"1349859157":["hashtag1","hashtag2"]},{"1349859145":["hashtag1","hashtag2"]},{"1349859130":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349859138, 1349859151, 1349859160, 1349859157, 1349859145, 1349859130)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.654170751571655 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:49:22.623068 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_53_6023.jpg', 2), ('/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_35_5767.jpg', 2), ('/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_29_6784.jpg', 2), ('/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_23_5785.jpg', 2), ('/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_17_5832.jpg', 2), ('/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_11_5813.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_53_6023.jpg', '/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_35_5767.jpg', '/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_29_6784.jpg', '/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_23_5785.jpg', '/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_17_5832.jpg', '/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_11_5813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_53_6023.jpg /home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_35_5767.jpg /home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_29_6784.jpg /home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_23_5785.jpg /home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_17_5832.jpg /home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_11_5813.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349859191","1349859224","1349859212","1349859217","1349859205","1349859198"],"photo_ids_order":["1349859191","1349859198","1349859205","1349859212","1349859217","1349859224"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a5bad0ba0657bbc24e58f647900a2416.jpg","text":"TemporaryFile(/tmp/multipartBody6598554804380556576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710624467,"filename":"image_15042025_06_26_53_6023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a30cb7bf07286983a0e6e09173c3ed20.jpg","text":"TemporaryFile(/tmp/multipartBody4003618681422440553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710624467,"filename":"image_15042025_06_26_11_5813.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ae14a0284f3e86b4664ae122ad75d96c.jpg","text":"TemporaryFile(/tmp/multipartBody4580744996554395342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710624467,"filename":"image_15042025_06_26_23_5785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8c4fdbf29ff18359611793740dd4fca.jpg","text":"TemporaryFile(/tmp/multipartBody5077616547807101026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710624467,"filename":"image_15042025_06_26_17_5832.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87c8450f1ba75e04f32833aca1dbb16c.jpg","text":"TemporaryFile(/tmp/multipartBody3721170416396310264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710624467,"filename":"image_15042025_06_26_29_6784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/896b1d4beeed881c532f57903a934813.jpg","text":"TemporaryFile(/tmp/multipartBody5699962403341842632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710624467,"filename":"image_15042025_06_26_35_5767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859205","file1":"1349859198","file0":"1349859191","file4":"1349859217","file5":"1349859224","file3":"1349859212"},"map_files_photo_id_array":[{"photo_id":"1349859224","filename":"file5"},{"photo_id":"1349859205","filename":"file2"},{"photo_id":"1349859217","filename":"file4"},{"photo_id":"1349859198","filename":"file1"},{"photo_id":"1349859191","filename":"file0"},{"photo_id":"1349859212","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349859191":["hashtag1","hashtag2"]},{"1349859224":["hashtag1","hashtag2"]},{"1349859212":["hashtag1","hashtag2"]},{"1349859217":["hashtag1","hashtag2"]},{"1349859205":["hashtag1","hashtag2"]},{"1349859198":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349859191, 1349859224, 1349859212, 1349859217, 1349859205, 1349859198)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.600185871124268 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:50:03.221253 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_05_6718.jpg', 2), ('/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_58_5834.jpg', 2), ('/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_53_5757.jpg', 2), ('/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_47_5625.jpg', 2), ('/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_41_6643.jpg', 2), ('/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_35_5657.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_05_6718.jpg', '/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_58_5834.jpg', '/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_53_5757.jpg', '/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_47_5625.jpg', '/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_41_6643.jpg', '/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_35_5657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/26/image_15042025_06_26_05_6718.jpg /home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_58_5834.jpg /home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_53_5757.jpg /home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_47_5625.jpg /home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_41_6643.jpg /home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_35_5657.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349859389","1349859380","1349859350","1349859376","1349859385","1349859369"],"photo_ids_order":["1349859350","1349859369","1349859376","1349859380","1349859385","1349859389"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d6e2343a58124611f04806907bf2b02.jpg","text":"TemporaryFile(/tmp/multipartBody7893116816225632587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710665014,"filename":"image_15042025_06_25_35_5657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70dea1de3fdcf8b38d50f1151495a87b.jpg","text":"TemporaryFile(/tmp/multipartBody5781628968781529473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710665014,"filename":"image_15042025_06_25_47_5625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1e00de83525bdefd04393b7e7511f3d0.jpg","text":"TemporaryFile(/tmp/multipartBody8315836169632178922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710665014,"filename":"image_15042025_06_26_05_6718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e1f6ab878bdd2afcc29bf7dbf2aa3b29.jpg","text":"TemporaryFile(/tmp/multipartBody1057427921936343053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710665014,"filename":"image_15042025_06_25_53_5757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6af3d080e679b352bf8d6de27d4b1119.jpg","text":"TemporaryFile(/tmp/multipartBody3907407096139393200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710665014,"filename":"image_15042025_06_25_41_6643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/37c22b2ed3b12783badf75d1383e3e90.jpg","text":"TemporaryFile(/tmp/multipartBody6751643152914383501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710665014,"filename":"image_15042025_06_25_58_5834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859376","file1":"1349859369","file0":"1349859350","file4":"1349859385","file5":"1349859389","file3":"1349859380"},"map_files_photo_id_array":[{"photo_id":"1349859389","filename":"file5"},{"photo_id":"1349859376","filename":"file2"},{"photo_id":"1349859385","filename":"file4"},{"photo_id":"1349859369","filename":"file1"},{"photo_id":"1349859350","filename":"file0"},{"photo_id":"1349859380","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349859389":["hashtag1","hashtag2"]},{"1349859380":["hashtag1","hashtag2"]},{"1349859350":["hashtag1","hashtag2"]},{"1349859376":["hashtag1","hashtag2"]},{"1349859385":["hashtag1","hashtag2"]},{"1349859369":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349859389, 1349859380, 1349859350, 1349859376, 1349859385, 1349859369)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 36.318355560302734 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:50:42.735211 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_29_5625.jpg', 2), ('/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_23_6693.jpg', 2), ('/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_17_5606.jpg', 2), ('/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_11_5623.jpg', 2), ('/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_05_6681.jpg', 2), ('/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_59_5605.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_29_5625.jpg', '/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_23_6693.jpg', '/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_17_5606.jpg', '/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_11_5623.jpg', '/home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_05_6681.jpg', '/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_59_5605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_29_5625.jpg /home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_23_6693.jpg /home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_17_5606.jpg /home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_11_5623.jpg /home/nano/Desktop/images/15042025/06/25/image_15042025_06_25_05_6681.jpg /home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_59_5605.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349859439","1349859424","1349859417","1349859432","1349859411","1349859405"],"photo_ids_order":["1349859405","1349859411","1349859417","1349859424","1349859432","1349859439"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e463d00b6c68c689c66a62e57c7d4362.jpg","text":"TemporaryFile(/tmp/multipartBody7800073893685069864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710704468,"filename":"image_15042025_06_24_59_5605.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d9685cd86d07211a7bb97a8858bc5e7f.jpg","text":"TemporaryFile(/tmp/multipartBody2994252123283756426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710704468,"filename":"image_15042025_06_25_11_5623.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ffe286340f7a018686e5d7b913f343e.jpg","text":"TemporaryFile(/tmp/multipartBody8311037650279687229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710704468,"filename":"image_15042025_06_25_17_5606.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/48a120ad82400d85795710164fd6f541.jpg","text":"TemporaryFile(/tmp/multipartBody1748597006276556280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710704468,"filename":"image_15042025_06_25_05_6681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/320bc5ec34d28fa078149700d928d58d.jpg","text":"TemporaryFile(/tmp/multipartBody2883796501078536177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710704468,"filename":"image_15042025_06_25_23_6693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd4b8390cead0fdb2d1f793787697006.jpg","text":"TemporaryFile(/tmp/multipartBody3806482422840338582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710704468,"filename":"image_15042025_06_25_29_5625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859417","file1":"1349859411","file0":"1349859405","file4":"1349859432","file5":"1349859439","file3":"1349859424"},"map_files_photo_id_array":[{"photo_id":"1349859439","filename":"file5"},{"photo_id":"1349859417","filename":"file2"},{"photo_id":"1349859432","filename":"file4"},{"photo_id":"1349859411","filename":"file1"},{"photo_id":"1349859405","filename":"file0"},{"photo_id":"1349859424","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349859439":["hashtag1","hashtag2"]},{"1349859424":["hashtag1","hashtag2"]},{"1349859417":["hashtag1","hashtag2"]},{"1349859432":["hashtag1","hashtag2"]},{"1349859411":["hashtag1","hashtag2"]},{"1349859405":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349859439, 1349859424, 1349859417, 1349859432, 1349859411, 1349859405)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.194769382476807 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:51:21.874573 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_53_6651.jpg', 2), ('/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_46_5636.jpg', 2), ('/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_41_5620.jpg', 2), ('/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_35_6650.jpg', 2), ('/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_29_5905.jpg', 2), ('/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_11_5668.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_53_6651.jpg', '/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_46_5636.jpg', '/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_41_5620.jpg', '/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_35_6650.jpg', '/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_29_5905.jpg', '/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_11_5668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_53_6651.jpg /home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_46_5636.jpg /home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_41_5620.jpg /home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_35_6650.jpg /home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_29_5905.jpg /home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_11_5668.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349859470","1349859464","1349859476","1349859484","1349859457","1349859460"],"photo_ids_order":["1349859457","1349859460","1349859464","1349859470","1349859476","1349859484"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/057b64407953f0d2e842af89d7786aae.jpg","text":"TemporaryFile(/tmp/multipartBody9124119386131376844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710743624,"filename":"image_15042025_06_24_35_6650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/30bbf4ac12c723bc9290de773895033e.jpg","text":"TemporaryFile(/tmp/multipartBody5095726231794414990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710743624,"filename":"image_15042025_06_24_41_5620.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/97340e8f7145fcdde50e83f8783c492b.jpg","text":"TemporaryFile(/tmp/multipartBody6742099971511509069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710743624,"filename":"image_15042025_06_24_29_5905.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1967af2793853d574cd5640ce1e205d.jpg","text":"TemporaryFile(/tmp/multipartBody6945369457070323982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710743624,"filename":"image_15042025_06_24_11_5668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c05837910b948967b015998494b93351.jpg","text":"TemporaryFile(/tmp/multipartBody7445930336424183578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710743624,"filename":"image_15042025_06_24_53_6651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9f593cc8d26bc5f9c7c2853621a24a55.jpg","text":"TemporaryFile(/tmp/multipartBody2617547667998188827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710743624,"filename":"image_15042025_06_24_46_5636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859464","file1":"1349859460","file0":"1349859457","file4":"1349859476","file5":"1349859484","file3":"1349859470"},"map_files_photo_id_array":[{"photo_id":"1349859484","filename":"file5"},{"photo_id":"1349859464","filename":"file2"},{"photo_id":"1349859476","filename":"file4"},{"photo_id":"1349859460","filename":"file1"},{"photo_id":"1349859457","filename":"file0"},{"photo_id":"1349859470","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349859470":["hashtag1","hashtag2"]},{"1349859464":["hashtag1","hashtag2"]},{"1349859476":["hashtag1","hashtag2"]},{"1349859484":["hashtag1","hashtag2"]},{"1349859457":["hashtag1","hashtag2"]},{"1349859460":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349859470, 1349859464, 1349859476, 1349859484, 1349859457, 1349859460)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.6007821559906 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:52:02.557968 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_05_6663.jpg', 2), ('/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_59_5618.jpg', 2), ('/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_53_5609.jpg', 2), ('/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_47_6687.jpg', 2), ('/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_41_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_35_5636.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_05_6663.jpg', '/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_59_5618.jpg', '/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_53_5609.jpg', '/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_47_6687.jpg', '/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_41_5626.jpg', '/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_35_5636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/24/image_15042025_06_24_05_6663.jpg /home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_59_5618.jpg /home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_53_5609.jpg /home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_47_6687.jpg /home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_41_5626.jpg /home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_35_5636.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349859545","1349859539","1349859535","1349859520","1349859531","1349859525"],"photo_ids_order":["1349859520","1349859525","1349859531","1349859535","1349859539","1349859545"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a3b01c7ffe1e73f9a42d7ae3b0a1b36d.jpg","text":"TemporaryFile(/tmp/multipartBody7936718823927836555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710784362,"filename":"image_15042025_06_23_35_5636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8caf8405fb9c65804c2add6fdc123ef2.jpg","text":"TemporaryFile(/tmp/multipartBody6969880429998974317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710784362,"filename":"image_15042025_06_23_41_5626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eb63fc02217cca8de3e5cf92927e6232.jpg","text":"TemporaryFile(/tmp/multipartBody1634713456212829944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710784362,"filename":"image_15042025_06_23_47_6687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca3dbfd52ec4964c1cd4b9c2e5109d9a.jpg","text":"TemporaryFile(/tmp/multipartBody2034052401117181057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710784362,"filename":"image_15042025_06_24_05_6663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d4b3b48dc3e6b5b56b997f59c88fd90.jpg","text":"TemporaryFile(/tmp/multipartBody744060062135210429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710784362,"filename":"image_15042025_06_23_53_5609.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/be0b6772d581cb6f0074465877e74318.jpg","text":"TemporaryFile(/tmp/multipartBody7142888982228953585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710784362,"filename":"image_15042025_06_23_59_5618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859531","file1":"1349859525","file0":"1349859520","file4":"1349859539","file5":"1349859545","file3":"1349859535"},"map_files_photo_id_array":[{"photo_id":"1349859545","filename":"file5"},{"photo_id":"1349859531","filename":"file2"},{"photo_id":"1349859539","filename":"file4"},{"photo_id":"1349859525","filename":"file1"},{"photo_id":"1349859520","filename":"file0"},{"photo_id":"1349859535","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349859545":["hashtag1","hashtag2"]},{"1349859539":["hashtag1","hashtag2"]},{"1349859535":["hashtag1","hashtag2"]},{"1349859520":["hashtag1","hashtag2"]},{"1349859531":["hashtag1","hashtag2"]},{"1349859525":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349859545, 1349859539, 1349859535, 1349859520, 1349859531, 1349859525)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.296438217163086 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:52:41.964850 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_29_6729.jpg', 2), ('/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_23_5867.jpg', 2), ('/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_17_5843.jpg', 2), ('/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_11_5966.jpg', 2), ('/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_05_5960.jpg', 2), ('/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_59_5847.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_29_6729.jpg', '/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_23_5867.jpg', '/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_17_5843.jpg', '/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_11_5966.jpg', '/home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_05_5960.jpg', '/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_59_5847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_29_6729.jpg /home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_23_5867.jpg /home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_17_5843.jpg /home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_11_5966.jpg /home/nano/Desktop/images/15042025/06/23/image_15042025_06_23_05_5960.jpg /home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_59_5847.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349859596","1349859592","1349859574","1349859588","1349859567","1349859582"],"photo_ids_order":["1349859567","1349859574","1349859582","1349859588","1349859592","1349859596"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/958008b6a6d6898b3a372212403f9c10.jpg","text":"TemporaryFile(/tmp/multipartBody6750716956299249160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710823831,"filename":"image_15042025_06_22_59_5847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5c374b5592d89fffb7d249fcb610784d.jpg","text":"TemporaryFile(/tmp/multipartBody7680611782020247343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710823831,"filename":"image_15042025_06_23_05_5960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4423366a10e8101bae6f15d92e195985.jpg","text":"TemporaryFile(/tmp/multipartBody4303062577536867733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710823831,"filename":"image_15042025_06_23_23_5867.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/da35cde0c70e862e794e919388422985.jpg","text":"TemporaryFile(/tmp/multipartBody1950228888071419863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710823831,"filename":"image_15042025_06_23_11_5966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/800f596db086ecfbe6cf724680ad7f6e.jpg","text":"TemporaryFile(/tmp/multipartBody8602861853053332746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710823831,"filename":"image_15042025_06_23_29_6729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b2ae90f7353068a23454883c105af05.jpg","text":"TemporaryFile(/tmp/multipartBody7128398793130619353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710823831,"filename":"image_15042025_06_23_17_5843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859582","file1":"1349859574","file0":"1349859567","file4":"1349859592","file5":"1349859596","file3":"1349859588"},"map_files_photo_id_array":[{"photo_id":"1349859596","filename":"file5"},{"photo_id":"1349859582","filename":"file2"},{"photo_id":"1349859592","filename":"file4"},{"photo_id":"1349859574","filename":"file1"},{"photo_id":"1349859567","filename":"file0"},{"photo_id":"1349859588","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349859596":["hashtag1","hashtag2"]},{"1349859592":["hashtag1","hashtag2"]},{"1349859574":["hashtag1","hashtag2"]},{"1349859588":["hashtag1","hashtag2"]},{"1349859567":["hashtag1","hashtag2"]},{"1349859582":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349859596, 1349859592, 1349859574, 1349859588, 1349859567, 1349859582)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.747288465499878 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:53:22.099215 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/53/image_15042025_11_53_59_6101.jpg', 2), ('/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_53_5882.jpg', 2), ('/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_47_5995.jpg', 2), ('/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_41_6821.jpg', 2), ('/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_34_5627.jpg', 2), ('/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_23_6690.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/53/image_15042025_11_53_59_6101.jpg', '/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_53_5882.jpg', '/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_47_5995.jpg', '/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_41_6821.jpg', '/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_34_5627.jpg', '/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_23_6690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/53/image_15042025_11_53_59_6101.jpg /home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_53_5882.jpg /home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_47_5995.jpg /home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_41_6821.jpg /home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_34_5627.jpg /home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_23_6690.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349859644","1349859653","1349859635","1349859617","1349859622","1349859628"],"photo_ids_order":["1349859617","1349859622","1349859628","1349859635","1349859644","1349859653"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/db9773d8f1880434ab82ea0916a7b7d4.jpg","text":"TemporaryFile(/tmp/multipartBody4835261871488225554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710863950,"filename":"image_15042025_06_22_34_5627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6673055c6f992be960dca8faa269463d.jpg","text":"TemporaryFile(/tmp/multipartBody4260031941192091946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710863950,"filename":"image_15042025_06_22_23_6690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3ee0af1a3b7656d55ec8af73e36e63a.jpg","text":"TemporaryFile(/tmp/multipartBody9218781527205674969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710863950,"filename":"image_15042025_06_22_41_6821.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dbf5b4135d537fd2b472e622594af71b.jpg","text":"TemporaryFile(/tmp/multipartBody1607266651940761627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710863950,"filename":"image_15042025_11_53_59_6101.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cc9408618b7a692d140579ceadd3c2a1.jpg","text":"TemporaryFile(/tmp/multipartBody4989672481775971651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710863950,"filename":"image_15042025_06_22_53_5882.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44feaeec922314423219cd9d5a1d960c.jpg","text":"TemporaryFile(/tmp/multipartBody896163917567846261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710863950,"filename":"image_15042025_06_22_47_5995.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859628","file1":"1349859622","file0":"1349859617","file4":"1349859644","file5":"1349859653","file3":"1349859635"},"map_files_photo_id_array":[{"photo_id":"1349859653","filename":"file5"},{"photo_id":"1349859628","filename":"file2"},{"photo_id":"1349859644","filename":"file4"},{"photo_id":"1349859622","filename":"file1"},{"photo_id":"1349859617","filename":"file0"},{"photo_id":"1349859635","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349859644":["hashtag1","hashtag2"]},{"1349859653":["hashtag1","hashtag2"]},{"1349859635":["hashtag1","hashtag2"]},{"1349859617":["hashtag1","hashtag2"]},{"1349859622":["hashtag1","hashtag2"]},{"1349859628":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349859644, 1349859653, 1349859635, 1349859617, 1349859622, 1349859628)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.23892521858215 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:54:03.145575 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_16_5641.jpg', 2), ('/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_11_5628.jpg', 2), ('/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_05_6644.jpg', 2), ('/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_59_5731.jpg', 2), ('/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_47_6676.jpg', 2), ('/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_41_5695.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_16_5641.jpg', '/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_11_5628.jpg', '/home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_05_6644.jpg', '/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_59_5731.jpg', '/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_47_6676.jpg', '/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_41_5695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_16_5641.jpg /home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_11_5628.jpg /home/nano/Desktop/images/15042025/06/22/image_15042025_06_22_05_6644.jpg /home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_59_5731.jpg /home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_47_6676.jpg /home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_41_5695.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349859674","1349859685","1349859682","1349859690","1349859678","1349859692"],"photo_ids_order":["1349859674","1349859678","1349859682","1349859685","1349859690","1349859692"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/124aa000a628ec4869cc560fd54d1224.jpg","text":"TemporaryFile(/tmp/multipartBody9187824482033931409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710904917,"filename":"image_15042025_06_22_16_5641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc8faeb2cdc277025fa27f851a1d2884.jpg","text":"TemporaryFile(/tmp/multipartBody7664842883596872797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710904917,"filename":"image_15042025_06_21_59_5731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/32a84f925ac19fc367fa0a48c12e84d3.jpg","text":"TemporaryFile(/tmp/multipartBody1822333100427803400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710904917,"filename":"image_15042025_06_22_05_6644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7db9676ceb6b36628e300d42f77df36d.jpg","text":"TemporaryFile(/tmp/multipartBody178248984321807691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710904917,"filename":"image_15042025_06_21_47_6676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/791a101d53db3204c1ca63726e8ba4ab.jpg","text":"TemporaryFile(/tmp/multipartBody3544044837084721951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710904917,"filename":"image_15042025_06_22_11_5628.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c3e086e48fe36f9cc978e53d6baa29c.jpg","text":"TemporaryFile(/tmp/multipartBody8441293740331805266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710904917,"filename":"image_15042025_06_21_41_5695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859682","file1":"1349859678","file0":"1349859674","file4":"1349859690","file5":"1349859692","file3":"1349859685"},"map_files_photo_id_array":[{"photo_id":"1349859692","filename":"file5"},{"photo_id":"1349859682","filename":"file2"},{"photo_id":"1349859690","filename":"file4"},{"photo_id":"1349859678","filename":"file1"},{"photo_id":"1349859674","filename":"file0"},{"photo_id":"1349859685","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349859674":["hashtag1","hashtag2"]},{"1349859685":["hashtag1","hashtag2"]},{"1349859682":["hashtag1","hashtag2"]},{"1349859690":["hashtag1","hashtag2"]},{"1349859678":["hashtag1","hashtag2"]},{"1349859692":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349859674, 1349859685, 1349859682, 1349859690, 1349859678, 1349859692)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.66145133972168 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:54:42.224722 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_35_5624.jpg', 2), ('/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_29_6645.jpg', 2), ('/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_23_6055.jpg', 2), ('/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_05_5666.jpg', 2), ('/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_59_6660.jpg', 2), ('/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_53_5642.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_35_5624.jpg', '/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_29_6645.jpg', '/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_23_6055.jpg', '/home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_05_5666.jpg', '/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_59_6660.jpg', '/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_53_5642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_35_5624.jpg /home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_29_6645.jpg /home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_23_6055.jpg /home/nano/Desktop/images/15042025/06/21/image_15042025_06_21_05_5666.jpg /home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_59_6660.jpg /home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_53_5642.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349859722","1349859745","1349859730","1349859753","1349859747","1349859738"],"photo_ids_order":["1349859722","1349859730","1349859738","1349859745","1349859747","1349859753"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41b677db1e18c818994825ee2171a6d6.jpg","text":"TemporaryFile(/tmp/multipartBody816302010183997086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710943981,"filename":"image_15042025_06_21_35_5624.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9093bc3e864e801471ea333b31779b6a.jpg","text":"TemporaryFile(/tmp/multipartBody748273102972101140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710943981,"filename":"image_15042025_06_21_05_5666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14624bc948f22620c352ae0aeda56617.jpg","text":"TemporaryFile(/tmp/multipartBody6274525529084416751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710943981,"filename":"image_15042025_06_21_29_6645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a3b7f54278843690a1130817fa43822.jpg","text":"TemporaryFile(/tmp/multipartBody2119170134269243169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710943981,"filename":"image_15042025_06_20_53_5642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/350d4dae77559239400600c1b79bc0b9.jpg","text":"TemporaryFile(/tmp/multipartBody7575165629958278779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710943981,"filename":"image_15042025_06_20_59_6660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e49eaa29c399e1b46f1c79ed0db99a5b.jpg","text":"TemporaryFile(/tmp/multipartBody7796539075698318866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710943981,"filename":"image_15042025_06_21_23_6055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859738","file1":"1349859730","file0":"1349859722","file4":"1349859747","file5":"1349859753","file3":"1349859745"},"map_files_photo_id_array":[{"photo_id":"1349859753","filename":"file5"},{"photo_id":"1349859738","filename":"file2"},{"photo_id":"1349859747","filename":"file4"},{"photo_id":"1349859730","filename":"file1"},{"photo_id":"1349859722","filename":"file0"},{"photo_id":"1349859745","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349859722":["hashtag1","hashtag2"]},{"1349859745":["hashtag1","hashtag2"]},{"1349859730":["hashtag1","hashtag2"]},{"1349859753":["hashtag1","hashtag2"]},{"1349859747":["hashtag1","hashtag2"]},{"1349859738":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349859722, 1349859745, 1349859730, 1349859753, 1349859747, 1349859738)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 35.507912158966064 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:55:22.430398 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_47_5609.jpg', 2), ('/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_41_6675.jpg', 2), ('/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_35_5702.jpg', 2), ('/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_29_5837.jpg', 2), ('/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_23_6108.jpg', 2), ('/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_17_6127.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_47_5609.jpg', '/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_41_6675.jpg', '/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_35_5702.jpg', '/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_29_5837.jpg', '/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_23_6108.jpg', '/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_17_6127.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_47_5609.jpg /home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_41_6675.jpg /home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_35_5702.jpg /home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_29_5837.jpg /home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_23_6108.jpg /home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_17_6127.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349859773","1349859764","1349859821","1349859803","1349859832","1349859780"],"photo_ids_order":["1349859764","1349859773","1349859780","1349859803","1349859821","1349859832"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/efaeda46f05475972a222403c95d18b7.jpg","text":"TemporaryFile(/tmp/multipartBody6226343511372513574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710984227,"filename":"image_15042025_06_20_41_6675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bce6d80c88f1f130c02b31c3a4a402ee.jpg","text":"TemporaryFile(/tmp/multipartBody853863686356759424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710984227,"filename":"image_15042025_06_20_47_5609.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1865075464c4c630ddf5de53b6dacd36.jpg","text":"TemporaryFile(/tmp/multipartBody590730212507980314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710984227,"filename":"image_15042025_06_20_23_6108.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c0ca797f077270d9ff4436ed963f2bb.jpg","text":"TemporaryFile(/tmp/multipartBody511167885984611148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710984227,"filename":"image_15042025_06_20_29_5837.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59e26cea101163eb4f315410df3e6176.jpg","text":"TemporaryFile(/tmp/multipartBody5166449127785236589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710984227,"filename":"image_15042025_06_20_17_6127.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44aa388a62ff35566389fa5c49c9bae3.jpg","text":"TemporaryFile(/tmp/multipartBody4434319409979714914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744710984227,"filename":"image_15042025_06_20_35_5702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859780","file1":"1349859773","file0":"1349859764","file4":"1349859821","file5":"1349859832","file3":"1349859803"},"map_files_photo_id_array":[{"photo_id":"1349859832","filename":"file5"},{"photo_id":"1349859780","filename":"file2"},{"photo_id":"1349859821","filename":"file4"},{"photo_id":"1349859773","filename":"file1"},{"photo_id":"1349859764","filename":"file0"},{"photo_id":"1349859803","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349859773":["hashtag1","hashtag2"]},{"1349859764":["hashtag1","hashtag2"]},{"1349859821":["hashtag1","hashtag2"]},{"1349859803":["hashtag1","hashtag2"]},{"1349859832":["hashtag1","hashtag2"]},{"1349859780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349859773, 1349859764, 1349859821, 1349859803, 1349859832, 1349859780)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.09352231025696 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:56:03.094231 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_11_5825.jpg', 2), ('/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_05_5795.jpg', 2), ('/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_59_6779.jpg', 2), ('/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_52_5738.jpg', 2), ('/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_47_5788.jpg', 2), ('/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_41_5713.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_11_5825.jpg', '/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_05_5795.jpg', '/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_59_6779.jpg', '/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_52_5738.jpg', '/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_47_5788.jpg', '/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_41_5713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_11_5825.jpg /home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_05_5795.jpg /home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_59_6779.jpg /home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_52_5738.jpg /home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_47_5788.jpg /home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_41_5713.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.472916841506958 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443
\n\n' 400 [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:56:22.491058 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/56/image_15042025_11_56_29_6131.jpg', 2), ('/home/nano/Desktop/images/15042025/11/48/image_15042025_11_48_17_6118.jpg', 2), ('/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_11_5825.jpg', 2), ('/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_05_5795.jpg', 2), ('/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_59_6779.jpg', 2), ('/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_52_5738.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/56/image_15042025_11_56_29_6131.jpg', '/home/nano/Desktop/images/15042025/11/48/image_15042025_11_48_17_6118.jpg', '/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_11_5825.jpg', '/home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_05_5795.jpg', '/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_59_6779.jpg', '/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_52_5738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/56/image_15042025_11_56_29_6131.jpg /home/nano/Desktop/images/15042025/11/48/image_15042025_11_48_17_6118.jpg /home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_11_5825.jpg /home/nano/Desktop/images/15042025/06/20/image_15042025_06_20_05_5795.jpg /home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_59_6779.jpg /home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_52_5738.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349859893","1349859947","1349859932","1349859911","1349859905","1349859939"],"photo_ids_order":["1349859893","1349859905","1349859911","1349859932","1349859939","1349859947"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e9c287a119384d501f7411a68b172ef3.jpg","text":"TemporaryFile(/tmp/multipartBody7262258214316734683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711044378,"filename":"image_15042025_11_56_29_6131.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c104e3207090543e695b926c7238ca4c.jpg","text":"TemporaryFile(/tmp/multipartBody2209172766154612572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711044378,"filename":"image_15042025_06_19_52_5738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/553a347ee9175719b4e08a85aaa456da.jpg","text":"TemporaryFile(/tmp/multipartBody3405462496247595844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711044378,"filename":"image_15042025_06_20_05_5795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/893c4b6bb4f84e4cf6d14f95b252bedb.jpg","text":"TemporaryFile(/tmp/multipartBody7733237951462437761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711044378,"filename":"image_15042025_06_20_11_5825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/655cf64f58a32858acef1a671fa00337.jpg","text":"TemporaryFile(/tmp/multipartBody4543076839604747320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711044378,"filename":"image_15042025_11_48_17_6118.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70d25421c90e156d3d290322bb5edc96.jpg","text":"TemporaryFile(/tmp/multipartBody4139677112238847583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711044378,"filename":"image_15042025_06_19_59_6779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349859911","file1":"1349859905","file0":"1349859893","file4":"1349859939","file5":"1349859947","file3":"1349859932"},"map_files_photo_id_array":[{"photo_id":"1349859947","filename":"file5"},{"photo_id":"1349859911","filename":"file2"},{"photo_id":"1349859939","filename":"file4"},{"photo_id":"1349859905","filename":"file1"},{"photo_id":"1349859893","filename":"file0"},{"photo_id":"1349859932","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349859893":["hashtag1","hashtag2"]},{"1349859947":["hashtag1","hashtag2"]},{"1349859932":["hashtag1","hashtag2"]},{"1349859911":["hashtag1","hashtag2"]},{"1349859905":["hashtag1","hashtag2"]},{"1349859939":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349859893, 1349859947, 1349859932, 1349859911, 1349859905, 1349859939)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.21707773208618 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:57:03.169812 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_47_5788.jpg', 2), ('/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_41_5713.jpg', 2), ('/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_35_5792.jpg', 2), ('/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_29_6638.jpg', 2), ('/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_23_5603.jpg', 2), ('/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_17_6668.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_47_5788.jpg', '/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_41_5713.jpg', '/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_35_5792.jpg', '/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_29_6638.jpg', '/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_23_5603.jpg', '/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_17_6668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_47_5788.jpg /home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_41_5713.jpg /home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_35_5792.jpg /home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_29_6638.jpg /home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_23_5603.jpg /home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_17_6668.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349860044","1349859974","1349860055","1349860037","1349860051","1349859987"],"photo_ids_order":["1349859974","1349859987","1349860037","1349860044","1349860051","1349860055"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93b4aa11e69c77945eb71f46426acb29.jpg","text":"TemporaryFile(/tmp/multipartBody7496621072801074521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711084958,"filename":"image_15042025_06_19_29_6638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/14bd0e013f7245e86a1393dc416e2958.jpg","text":"TemporaryFile(/tmp/multipartBody4057342517275294702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711084958,"filename":"image_15042025_06_19_47_5788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed3976bb19e958e2cf4c0200f567eefa.jpg","text":"TemporaryFile(/tmp/multipartBody6297184949432955576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711084958,"filename":"image_15042025_06_19_17_6668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24fbe352c503cdf5e48c2b4b4672be08.jpg","text":"TemporaryFile(/tmp/multipartBody5745995560803675865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711084958,"filename":"image_15042025_06_19_35_5792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ef3e926974dfc1566f9caba13c51d65c.jpg","text":"TemporaryFile(/tmp/multipartBody4511731579661896434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711084958,"filename":"image_15042025_06_19_23_5603.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6de0d17a2f1c67cd7970ea73318abc8a.jpg","text":"TemporaryFile(/tmp/multipartBody2180047928669368392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711084958,"filename":"image_15042025_06_19_41_5713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349860037","file1":"1349859987","file0":"1349859974","file4":"1349860051","file5":"1349860055","file3":"1349860044"},"map_files_photo_id_array":[{"photo_id":"1349860055","filename":"file5"},{"photo_id":"1349860037","filename":"file2"},{"photo_id":"1349860051","filename":"file4"},{"photo_id":"1349859987","filename":"file1"},{"photo_id":"1349859974","filename":"file0"},{"photo_id":"1349860044","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349860044":["hashtag1","hashtag2"]},{"1349859974":["hashtag1","hashtag2"]},{"1349860055":["hashtag1","hashtag2"]},{"1349860037":["hashtag1","hashtag2"]},{"1349860051":["hashtag1","hashtag2"]},{"1349859987":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349860044, 1349859974, 1349860055, 1349860037, 1349860051, 1349859987)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 34.349523305892944 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:57:42.728489 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_10_5644.jpg', 2), ('/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_05_5615.jpg', 2), ('/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_59_6719.jpg', 2), ('/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_53_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_47_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_41_6669.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_10_5644.jpg', '/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_05_5615.jpg', '/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_59_6719.jpg', '/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_53_5633.jpg', '/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_47_5637.jpg', '/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_41_6669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_10_5644.jpg /home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_05_5615.jpg /home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_59_6719.jpg /home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_53_5633.jpg /home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_47_5637.jpg /home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_41_6669.jpg Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:58:21.898973 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/58/image_15042025_11_58_59_6121.jpg', 2), ('/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_10_5644.jpg', 2), ('/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_05_5615.jpg', 2), ('/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_59_6719.jpg', 2), ('/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_53_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_47_5637.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/58/image_15042025_11_58_59_6121.jpg', '/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_10_5644.jpg', '/home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_05_5615.jpg', '/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_59_6719.jpg', '/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_53_5633.jpg', '/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_47_5637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/58/image_15042025_11_58_59_6121.jpg /home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_10_5644.jpg /home/nano/Desktop/images/15042025/06/19/image_15042025_06_19_05_5615.jpg /home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_59_6719.jpg /home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_53_5633.jpg /home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_47_5637.jpg after data_to_send, before sending request after request b'{"photo_ids":["1349860143","1349860136","1349860139","1349860144","1349860132","1349860141"],"photo_ids_order":["1349860132","1349860136","1349860139","1349860141","1349860143","1349860144"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d42ed4706cbae3881115c113898149e8.jpg","text":"TemporaryFile(/tmp/multipartBody7457650094827155133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711163651,"filename":"image_15042025_06_18_53_5633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bc971efb004078b3ac2062a41042ac48.jpg","text":"TemporaryFile(/tmp/multipartBody7148963018231586455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711163651,"filename":"image_15042025_06_19_10_5644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1d634d8f880feef1582e393e61412b14.jpg","text":"TemporaryFile(/tmp/multipartBody271564761772849707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711163651,"filename":"image_15042025_06_19_05_5615.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a0e021f887dd61cba19510dc1198287.jpg","text":"TemporaryFile(/tmp/multipartBody3064597768107588759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711163651,"filename":"image_15042025_06_18_47_5637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5be0786b0be40a1cdcb70472a8dc73e6.jpg","text":"TemporaryFile(/tmp/multipartBody6216446439974358119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711163651,"filename":"image_15042025_11_58_59_6121.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/335a1b365315df397c6a88693986cdde.jpg","text":"TemporaryFile(/tmp/multipartBody20132080933062364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711163651,"filename":"image_15042025_06_18_59_6719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349860139","file1":"1349860136","file0":"1349860132","file4":"1349860143","file5":"1349860144","file3":"1349860141"},"map_files_photo_id_array":[{"photo_id":"1349860144","filename":"file5"},{"photo_id":"1349860139","filename":"file2"},{"photo_id":"1349860143","filename":"file4"},{"photo_id":"1349860136","filename":"file1"},{"photo_id":"1349860132","filename":"file0"},{"photo_id":"1349860141","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349860143":["hashtag1","hashtag2"]},{"1349860136":["hashtag1","hashtag2"]},{"1349860139":["hashtag1","hashtag2"]},{"1349860144":["hashtag1","hashtag2"]},{"1349860132":["hashtag1","hashtag2"]},{"1349860141":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349860143, 1349860136, 1349860139, 1349860144, 1349860132, 1349860141)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.374232530593872 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:59:02.979495 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_41_6669.jpg', 2), ('/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_29_5651.jpg', 2), ('/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_23_6675.jpg', 2), ('/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_17_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_05_6684.jpg', 2), ('/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_59_5653.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_41_6669.jpg', '/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_29_5651.jpg', '/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_23_6675.jpg', '/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_17_5649.jpg', '/home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_05_6684.jpg', '/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_59_5653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_41_6669.jpg /home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_29_5651.jpg /home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_23_6675.jpg /home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_17_5649.jpg /home/nano/Desktop/images/15042025/06/18/image_15042025_06_18_05_6684.jpg /home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_59_5653.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349860263","1349860305","1349860190","1349860166","1349860223","1349860159"],"photo_ids_order":["1349860159","1349860166","1349860190","1349860223","1349860263","1349860305"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b8dc4278ab372bc301daf4ecfdc4d6bc.jpg","text":"TemporaryFile(/tmp/multipartBody5585473431026727320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711205097,"filename":"image_15042025_06_18_05_6684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7da8afe21bca82b41a40990bdff16f8e.jpg","text":"TemporaryFile(/tmp/multipartBody6494605742172123979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711205097,"filename":"image_15042025_06_17_59_5653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/08eaa2937cc3798f4b4d0fdbc1c48abb.jpg","text":"TemporaryFile(/tmp/multipartBody8189986223666132523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711205097,"filename":"image_15042025_06_18_23_6675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2647fbbccf1fe9d3c456c072b57fad2e.jpg","text":"TemporaryFile(/tmp/multipartBody4741918787694297124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711205097,"filename":"image_15042025_06_18_29_5651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/67784afd533b80cedad706dff238743e.jpg","text":"TemporaryFile(/tmp/multipartBody2463574018108381648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711205097,"filename":"image_15042025_06_18_17_5649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9afc905360cb1d03a4ab1b4879c18013.jpg","text":"TemporaryFile(/tmp/multipartBody8211216574842046909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711205097,"filename":"image_15042025_06_18_41_6669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349860190","file1":"1349860166","file0":"1349860159","file4":"1349860263","file5":"1349860305","file3":"1349860223"},"map_files_photo_id_array":[{"photo_id":"1349860305","filename":"file5"},{"photo_id":"1349860190","filename":"file2"},{"photo_id":"1349860263","filename":"file4"},{"photo_id":"1349860166","filename":"file1"},{"photo_id":"1349860159","filename":"file0"},{"photo_id":"1349860223","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349860263":["hashtag1","hashtag2"]},{"1349860305":["hashtag1","hashtag2"]},{"1349860190":["hashtag1","hashtag2"]},{"1349860166":["hashtag1","hashtag2"]},{"1349860223":["hashtag1","hashtag2"]},{"1349860159":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349860263, 1349860305, 1349860190, 1349860166, 1349860223, 1349860159)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.72875142097473 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 11:59:42.049043 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/56/image_15042025_11_56_47_5984.jpg', 2), ('/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_53_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_47_6672.jpg', 2), ('/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_35_5680.jpg', 2), ('/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_29_6635.jpg', 2), ('/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_23_5636.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/56/image_15042025_11_56_47_5984.jpg', '/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_53_5629.jpg', '/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_47_6672.jpg', '/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_35_5680.jpg', '/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_29_6635.jpg', '/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_23_5636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/56/image_15042025_11_56_47_5984.jpg /home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_53_5629.jpg /home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_47_6672.jpg /home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_35_5680.jpg /home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_29_6635.jpg /home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_23_5636.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349860527","1349860434","1349860496","1349860561","1349860599","1349860659"],"photo_ids_order":["1349860434","1349860496","1349860527","1349860561","1349860599","1349860659"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ecdb6c542401bfc8060ae2c4c27e2b90.jpg","text":"TemporaryFile(/tmp/multipartBody9031480511890698598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711243808,"filename":"image_15042025_06_17_47_6672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/143b724e8b52e9a5db67f4a15b2dd008.jpg","text":"TemporaryFile(/tmp/multipartBody2955158718072991682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711243808,"filename":"image_15042025_11_56_47_5984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4255872530a99696014ce2e51dfdbeb6.jpg","text":"TemporaryFile(/tmp/multipartBody7819285657055446930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711243808,"filename":"image_15042025_06_17_53_5629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28c50bd99e86b0d0c5b1c76d024485a1.jpg","text":"TemporaryFile(/tmp/multipartBody1506980517720565387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711243808,"filename":"image_15042025_06_17_35_5680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/50e9bb19d34a7280bdf06569a3e6d3ab.jpg","text":"TemporaryFile(/tmp/multipartBody5366643811301597237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711243808,"filename":"image_15042025_06_17_29_6635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/614b6957d7f44170fcb04a73153caa3c.jpg","text":"TemporaryFile(/tmp/multipartBody4374999975555799072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711243808,"filename":"image_15042025_06_17_23_5636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349860527","file1":"1349860496","file0":"1349860434","file4":"1349860599","file5":"1349860659","file3":"1349860561"},"map_files_photo_id_array":[{"photo_id":"1349860659","filename":"file5"},{"photo_id":"1349860527","filename":"file2"},{"photo_id":"1349860599","filename":"file4"},{"photo_id":"1349860496","filename":"file1"},{"photo_id":"1349860434","filename":"file0"},{"photo_id":"1349860561","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349860527":["hashtag1","hashtag2"]},{"1349860434":["hashtag1","hashtag2"]},{"1349860496":["hashtag1","hashtag2"]},{"1349860561":["hashtag1","hashtag2"]},{"1349860599":["hashtag1","hashtag2"]},{"1349860659":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349860527, 1349860434, 1349860496, 1349860561, 1349860599, 1349860659)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 36.27858924865723 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:00:22.168776 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_17_5657.jpg', 2), ('/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_11_6684.jpg', 2), ('/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_05_5661.jpg', 2), ('/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_59_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_53_6873.jpg', 2), ('/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_47_5800.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_17_5657.jpg', '/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_11_6684.jpg', '/home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_05_5661.jpg', '/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_59_5654.jpg', '/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_53_6873.jpg', '/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_47_5800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_17_5657.jpg /home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_11_6684.jpg /home/nano/Desktop/images/15042025/06/17/image_15042025_06_17_05_5661.jpg /home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_59_5654.jpg /home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_53_6873.jpg /home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_47_5800.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349860905","1349860917","1349860838","1349860873","1349860774","1349860804"],"photo_ids_order":["1349860774","1349860804","1349860838","1349860873","1349860905","1349860917"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a826209f0bfcd4f32341b046a09f3076.jpg","text":"TemporaryFile(/tmp/multipartBody6465556718907775301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711283929,"filename":"image_15042025_06_16_53_6873.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c46b90870e9a82d9cbb948c5f634cfb.jpg","text":"TemporaryFile(/tmp/multipartBody6420166570726512773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711283929,"filename":"image_15042025_06_16_47_5800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aba401bc052ccfe58ecd416a851f3cba.jpg","text":"TemporaryFile(/tmp/multipartBody9121603895873985061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711283929,"filename":"image_15042025_06_17_05_5661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c7df8c3513c65ff0eff8f2582697d498.jpg","text":"TemporaryFile(/tmp/multipartBody2472498965463495841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711283929,"filename":"image_15042025_06_16_59_5654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41e171e6312c0ecdc375e6452b01e207.jpg","text":"TemporaryFile(/tmp/multipartBody2538036219598428858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711283929,"filename":"image_15042025_06_17_17_5657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3451b7c5661b0a8c2b19150d8661545c.jpg","text":"TemporaryFile(/tmp/multipartBody8713934884071577943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711283929,"filename":"image_15042025_06_17_11_6684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349860838","file1":"1349860804","file0":"1349860774","file4":"1349860905","file5":"1349860917","file3":"1349860873"},"map_files_photo_id_array":[{"photo_id":"1349860917","filename":"file5"},{"photo_id":"1349860838","filename":"file2"},{"photo_id":"1349860905","filename":"file4"},{"photo_id":"1349860804","filename":"file1"},{"photo_id":"1349860774","filename":"file0"},{"photo_id":"1349860873","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349860905":["hashtag1","hashtag2"]},{"1349860917":["hashtag1","hashtag2"]},{"1349860838":["hashtag1","hashtag2"]},{"1349860873":["hashtag1","hashtag2"]},{"1349860774":["hashtag1","hashtag2"]},{"1349860804":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349860905, 1349860917, 1349860838, 1349860873, 1349860774, 1349860804)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.542001962661743 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:01:02.698032 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_41_5866.jpg', 2), ('/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_35_5798.jpg', 2), ('/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_29_5704.jpg', 2), ('/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_23_6915.jpg', 2), ('/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_16_5800.jpg', 2), ('/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_11_5788.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_41_5866.jpg', '/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_35_5798.jpg', '/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_29_5704.jpg', '/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_23_6915.jpg', '/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_16_5800.jpg', '/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_11_5788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_41_5866.jpg /home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_35_5798.jpg /home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_29_5704.jpg /home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_23_6915.jpg /home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_16_5800.jpg /home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_11_5788.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349860947","1349861051","1349860970","1349860980","1349861046","1349860956"],"photo_ids_order":["1349860947","1349860956","1349860970","1349860980","1349861046","1349861051"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/976f2a46243b979f69869fdf978c8a08.jpg","text":"TemporaryFile(/tmp/multipartBody191008397814163273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711324545,"filename":"image_15042025_06_16_41_5866.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9fd8aad56be1ccd0fe0dd2a55e7adb87.jpg","text":"TemporaryFile(/tmp/multipartBody4310684829358829047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711324545,"filename":"image_15042025_06_16_11_5788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/29147aaabef9dae782cc5cb4f0c3420b.jpg","text":"TemporaryFile(/tmp/multipartBody2614419166859616121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711324545,"filename":"image_15042025_06_16_29_5704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3482fc47a71045b48275df008aaee3c8.jpg","text":"TemporaryFile(/tmp/multipartBody4811728850669768067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711324545,"filename":"image_15042025_06_16_23_6915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f01add4be9103eee7e35dfb736eeda75.jpg","text":"TemporaryFile(/tmp/multipartBody4113575027149610944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711324545,"filename":"image_15042025_06_16_16_5800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9c2d5687d37cbb218bfe5f1ba8c6ca00.jpg","text":"TemporaryFile(/tmp/multipartBody4130499565744192307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711324545,"filename":"image_15042025_06_16_35_5798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349860970","file1":"1349860956","file0":"1349860947","file4":"1349861046","file5":"1349861051","file3":"1349860980"},"map_files_photo_id_array":[{"photo_id":"1349861051","filename":"file5"},{"photo_id":"1349860970","filename":"file2"},{"photo_id":"1349861046","filename":"file4"},{"photo_id":"1349860956","filename":"file1"},{"photo_id":"1349860947","filename":"file0"},{"photo_id":"1349860980","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349860947":["hashtag1","hashtag2"]},{"1349861051":["hashtag1","hashtag2"]},{"1349860970":["hashtag1","hashtag2"]},{"1349860980":["hashtag1","hashtag2"]},{"1349861046":["hashtag1","hashtag2"]},{"1349860956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349860947, 1349861051, 1349860970, 1349860980, 1349861046, 1349860956)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.14149522781372 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:01:42.307267 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_05_5950.jpg', 2), ('/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_59_5809.jpg', 2), ('/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_53_5753.jpg', 2), ('/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_47_6802.jpg', 2), ('/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_41_5705.jpg', 2), ('/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_35_5756.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_05_5950.jpg', '/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_59_5809.jpg', '/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_53_5753.jpg', '/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_47_6802.jpg', '/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_41_5705.jpg', '/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_35_5756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/16/image_15042025_06_16_05_5950.jpg /home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_59_5809.jpg /home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_53_5753.jpg /home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_47_6802.jpg /home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_41_5705.jpg /home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_35_5756.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349861075","1349861117","1349861272","1349861305","1349861175","1349861241"],"photo_ids_order":["1349861075","1349861117","1349861175","1349861241","1349861272","1349861305"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0aab605cbb89e97370432bd42caa7266.jpg","text":"TemporaryFile(/tmp/multipartBody1225981086226479404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711364133,"filename":"image_15042025_06_16_05_5950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c8ec5d3aca2a1126f6ff57b460507e0.jpg","text":"TemporaryFile(/tmp/multipartBody8811126698989041303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711364133,"filename":"image_15042025_06_15_59_5809.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/178f5acefa6d101f3b4531307ac4b969.jpg","text":"TemporaryFile(/tmp/multipartBody6948123964142523646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711364133,"filename":"image_15042025_06_15_41_5705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3b8945748e108763a198e73fc911ce99.jpg","text":"TemporaryFile(/tmp/multipartBody4198840826743877068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711364133,"filename":"image_15042025_06_15_35_5756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d7dcaa671ab14e7051c2cdc5008e010.jpg","text":"TemporaryFile(/tmp/multipartBody1539511207767510728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711364133,"filename":"image_15042025_06_15_53_5753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1d3cd5c49366738b75aac55490bb323.jpg","text":"TemporaryFile(/tmp/multipartBody4499629106701358932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711364133,"filename":"image_15042025_06_15_47_6802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349861175","file1":"1349861117","file0":"1349861075","file4":"1349861272","file5":"1349861305","file3":"1349861241"},"map_files_photo_id_array":[{"photo_id":"1349861305","filename":"file5"},{"photo_id":"1349861175","filename":"file2"},{"photo_id":"1349861272","filename":"file4"},{"photo_id":"1349861117","filename":"file1"},{"photo_id":"1349861075","filename":"file0"},{"photo_id":"1349861241","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349861075":["hashtag1","hashtag2"]},{"1349861117":["hashtag1","hashtag2"]},{"1349861272":["hashtag1","hashtag2"]},{"1349861305":["hashtag1","hashtag2"]},{"1349861175":["hashtag1","hashtag2"]},{"1349861241":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349861075, 1349861117, 1349861272, 1349861305, 1349861175, 1349861241)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.829594135284424 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:02:22.414497 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_29_5817.jpg', 2), ('/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_23_6793.jpg', 2), ('/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_16_5835.jpg', 2), ('/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_11_5671.jpg', 2), ('/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_05_5722.jpg', 2), ('/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_59_6670.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_29_5817.jpg', '/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_23_6793.jpg', '/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_16_5835.jpg', '/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_11_5671.jpg', '/home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_05_5722.jpg', '/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_59_6670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_29_5817.jpg /home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_23_6793.jpg /home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_16_5835.jpg /home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_11_5671.jpg /home/nano/Desktop/images/15042025/06/15/image_15042025_06_15_05_5722.jpg /home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_59_6670.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349861537","1349861770","1349861653","1349861716","1349861598","1349861850"],"photo_ids_order":["1349861537","1349861598","1349861653","1349861716","1349861770","1349861850"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4ae51b454f60f6c3a8b0f4b4914c38d0.jpg","text":"TemporaryFile(/tmp/multipartBody5759495769569117183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711404219,"filename":"image_15042025_06_15_29_5817.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e34811c449aa20acf8d71012742c81f.jpg","text":"TemporaryFile(/tmp/multipartBody3271294076693663008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711404219,"filename":"image_15042025_06_15_05_5722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/acebea26c5096c5779e523d604f3a508.jpg","text":"TemporaryFile(/tmp/multipartBody8691386880018496040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711404219,"filename":"image_15042025_06_15_16_5835.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b21d59bd042b99a10b7fefa650018bd0.jpg","text":"TemporaryFile(/tmp/multipartBody4720994018621761332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711404219,"filename":"image_15042025_06_15_11_5671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b7f58dc5f8ae6501288ec1f349c489f0.jpg","text":"TemporaryFile(/tmp/multipartBody3605397852770899678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711404219,"filename":"image_15042025_06_15_23_6793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a05f87d97a470bd007a281b419ba5233.jpg","text":"TemporaryFile(/tmp/multipartBody9086486348024146836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711404219,"filename":"image_15042025_06_14_59_6670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349861653","file1":"1349861598","file0":"1349861537","file4":"1349861770","file5":"1349861850","file3":"1349861716"},"map_files_photo_id_array":[{"photo_id":"1349861850","filename":"file5"},{"photo_id":"1349861653","filename":"file2"},{"photo_id":"1349861770","filename":"file4"},{"photo_id":"1349861598","filename":"file1"},{"photo_id":"1349861537","filename":"file0"},{"photo_id":"1349861716","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349861537":["hashtag1","hashtag2"]},{"1349861770":["hashtag1","hashtag2"]},{"1349861653":["hashtag1","hashtag2"]},{"1349861716":["hashtag1","hashtag2"]},{"1349861598":["hashtag1","hashtag2"]},{"1349861850":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349861537, 1349861770, 1349861653, 1349861716, 1349861598, 1349861850)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.519124031066895 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:03:03.083347 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_53_5631.jpg', 2), ('/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_47_5666.jpg', 2), ('/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_41_6645.jpg', 2), ('/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_35_5728.jpg', 2), ('/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_29_5645.jpg', 2), ('/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_23_6683.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_53_5631.jpg', '/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_47_5666.jpg', '/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_41_6645.jpg', '/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_35_5728.jpg', '/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_29_5645.jpg', '/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_23_6683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_53_5631.jpg /home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_47_5666.jpg /home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_41_6645.jpg /home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_35_5728.jpg /home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_29_5645.jpg /home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_23_6683.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349862359","1349862747","1349862669","1349862432","1349862290","1349862599"],"photo_ids_order":["1349862290","1349862359","1349862432","1349862599","1349862669","1349862747"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e0bbbb92871f4796b0553f3dbb1df72.jpg","text":"TemporaryFile(/tmp/multipartBody1503378334484930608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711444849,"filename":"image_15042025_06_14_47_5666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1bf5b20e7a1cdcf0431f37fe593867c.jpg","text":"TemporaryFile(/tmp/multipartBody4645453403241652071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711444849,"filename":"image_15042025_06_14_23_6683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/732d19827bfdc620e8dacf3703b95d4a.jpg","text":"TemporaryFile(/tmp/multipartBody4752764817624716439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711444849,"filename":"image_15042025_06_14_29_5645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c68c5aa39f6e73f795c9a3408a368e97.jpg","text":"TemporaryFile(/tmp/multipartBody8902714451337612084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711444849,"filename":"image_15042025_06_14_41_6645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00440424a05937a12c4e0b7eaeeda0d5.jpg","text":"TemporaryFile(/tmp/multipartBody2477970922774151668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711444849,"filename":"image_15042025_06_14_53_5631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1f7c3ac0d368ca8f184c0f5bd0ee771.jpg","text":"TemporaryFile(/tmp/multipartBody1810669587818430893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711444849,"filename":"image_15042025_06_14_35_5728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349862432","file1":"1349862359","file0":"1349862290","file4":"1349862669","file5":"1349862747","file3":"1349862599"},"map_files_photo_id_array":[{"photo_id":"1349862747","filename":"file5"},{"photo_id":"1349862432","filename":"file2"},{"photo_id":"1349862669","filename":"file4"},{"photo_id":"1349862359","filename":"file1"},{"photo_id":"1349862290","filename":"file0"},{"photo_id":"1349862599","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349862359":["hashtag1","hashtag2"]},{"1349862747":["hashtag1","hashtag2"]},{"1349862669":["hashtag1","hashtag2"]},{"1349862432":["hashtag1","hashtag2"]},{"1349862290":["hashtag1","hashtag2"]},{"1349862599":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349862359, 1349862747, 1349862669, 1349862432, 1349862290, 1349862599)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 37.25484871864319 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:03:42.535145 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/12/03/image_15042025_12_03_59_6107.jpg', 2), ('/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_17_5630.jpg', 2), ('/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_11_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_05_6627.jpg', 2), ('/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_59_5662.jpg', 2), ('/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_53_5689.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/12/03/image_15042025_12_03_59_6107.jpg', '/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_17_5630.jpg', '/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_11_5646.jpg', '/home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_05_6627.jpg', '/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_59_5662.jpg', '/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_53_5689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/12/03/image_15042025_12_03_59_6107.jpg /home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_17_5630.jpg /home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_11_5646.jpg /home/nano/Desktop/images/15042025/06/14/image_15042025_06_14_05_6627.jpg /home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_59_5662.jpg /home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_53_5689.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349863418","1349863540","1349863482","1349863315","1349863149","1349863029"],"photo_ids_order":["1349863029","1349863149","1349863315","1349863418","1349863482","1349863540"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/76090526a46007b3c9c763ecbe614902.jpg","text":"TemporaryFile(/tmp/multipartBody8433473903726226519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711484288,"filename":"image_15042025_06_14_05_6627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86ee8d2b69db484090812f145b6369ad.jpg","text":"TemporaryFile(/tmp/multipartBody5611942639933668149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711484288,"filename":"image_15042025_06_13_53_5689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/733edfba6398adfc61cdff7a5ce5ad76.jpg","text":"TemporaryFile(/tmp/multipartBody4022219320452994017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711484288,"filename":"image_15042025_06_13_59_5662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8d2409ab700f308d641e588c2c575d40.jpg","text":"TemporaryFile(/tmp/multipartBody5495403829267839320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711484288,"filename":"image_15042025_06_14_11_5646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3bc219ae07c0e442cd0a721bc2eed012.jpg","text":"TemporaryFile(/tmp/multipartBody5655330870617464161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711484288,"filename":"image_15042025_06_14_17_5630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f35b7343a675e0eec6c606f59768f92d.jpg","text":"TemporaryFile(/tmp/multipartBody1825784902092249572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711484288,"filename":"image_15042025_12_03_59_6107.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349863315","file1":"1349863149","file0":"1349863029","file4":"1349863482","file5":"1349863540","file3":"1349863418"},"map_files_photo_id_array":[{"photo_id":"1349863540","filename":"file5"},{"photo_id":"1349863315","filename":"file2"},{"photo_id":"1349863482","filename":"file4"},{"photo_id":"1349863149","filename":"file1"},{"photo_id":"1349863029","filename":"file0"},{"photo_id":"1349863418","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349863418":["hashtag1","hashtag2"]},{"1349863540":["hashtag1","hashtag2"]},{"1349863482":["hashtag1","hashtag2"]},{"1349863315":["hashtag1","hashtag2"]},{"1349863149":["hashtag1","hashtag2"]},{"1349863029":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349863418, 1349863540, 1349863482, 1349863315, 1349863149, 1349863029)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.397340774536133 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:04:22.711192 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_47_6747.jpg', 2), ('/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_41_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_29_6672.jpg', 2), ('/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_23_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_17_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_11_6679.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_47_6747.jpg', '/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_41_5633.jpg', '/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_29_6672.jpg', '/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_23_5654.jpg', '/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_17_5642.jpg', '/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_11_6679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_47_6747.jpg /home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_41_5633.jpg /home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_29_6672.jpg /home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_23_5654.jpg /home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_17_5642.jpg /home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_11_6679.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349864134","1349863912","1349864078","1349864009","1349864194","1349864254"],"photo_ids_order":["1349863912","1349864009","1349864078","1349864134","1349864194","1349864254"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/15160c0c153d7ce6043180a4e7a378f6.jpg","text":"TemporaryFile(/tmp/multipartBody6843007709196563166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711524449,"filename":"image_15042025_06_13_23_5654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6dd4539f9652bccff068e3cf42e0391a.jpg","text":"TemporaryFile(/tmp/multipartBody1652431237317246315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711524449,"filename":"image_15042025_06_13_47_6747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/971f9795b51b49969f78c30bda244b3d.jpg","text":"TemporaryFile(/tmp/multipartBody4769514060929626794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711524449,"filename":"image_15042025_06_13_29_6672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e61a69702197d7499ead25ed568ed01b.jpg","text":"TemporaryFile(/tmp/multipartBody4616899741083609277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711524449,"filename":"image_15042025_06_13_41_5633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b3f4d5beb76f07a2a013652f060f08c8.jpg","text":"TemporaryFile(/tmp/multipartBody1616626247469118355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711524449,"filename":"image_15042025_06_13_17_5642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e01c5948b75bfe4988b5326edbff3f5.jpg","text":"TemporaryFile(/tmp/multipartBody1683567913678373164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711524449,"filename":"image_15042025_06_13_11_6679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349864078","file1":"1349864009","file0":"1349863912","file4":"1349864194","file5":"1349864254","file3":"1349864134"},"map_files_photo_id_array":[{"photo_id":"1349864254","filename":"file5"},{"photo_id":"1349864078","filename":"file2"},{"photo_id":"1349864194","filename":"file4"},{"photo_id":"1349864009","filename":"file1"},{"photo_id":"1349863912","filename":"file0"},{"photo_id":"1349864134","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349864134":["hashtag1","hashtag2"]},{"1349863912":["hashtag1","hashtag2"]},{"1349864078":["hashtag1","hashtag2"]},{"1349864009":["hashtag1","hashtag2"]},{"1349864194":["hashtag1","hashtag2"]},{"1349864254":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349864134, 1349863912, 1349864078, 1349864009, 1349864194, 1349864254)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.11882567405701 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:05:03.374304 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_05_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_59_5620.jpg', 2), ('/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_53_6620.jpg', 2), ('/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_41_6616.jpg', 2), ('/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_35_5965.jpg', 2), ('/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_29_5714.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_05_5626.jpg', '/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_59_5620.jpg', '/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_53_6620.jpg', '/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_41_6616.jpg', '/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_35_5965.jpg', '/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_29_5714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/13/image_15042025_06_13_05_5626.jpg /home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_59_5620.jpg /home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_53_6620.jpg /home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_41_6616.jpg /home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_35_5965.jpg /home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_29_5714.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349864647","1349864586","1349864688","1349864721","1349864526","1349864819"],"photo_ids_order":["1349864526","1349864586","1349864647","1349864688","1349864721","1349864819"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/851f5f6bb4673d4e1af524e1876eea62.jpg","text":"TemporaryFile(/tmp/multipartBody4644839872903630886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711565238,"filename":"image_15042025_06_12_53_6620.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e3200555ed4b146a14043acae0a3fc8.jpg","text":"TemporaryFile(/tmp/multipartBody8968515711676488554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711565238,"filename":"image_15042025_06_12_59_5620.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/54d5bd451a6c528e051d3cf7b25a709e.jpg","text":"TemporaryFile(/tmp/multipartBody9046199754913424465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711565238,"filename":"image_15042025_06_12_41_6616.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39f054a2c40a9f28bef58a20d92a9b5c.jpg","text":"TemporaryFile(/tmp/multipartBody3534042347186664530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711565238,"filename":"image_15042025_06_12_35_5965.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/606d03de3985040307354281da958f9e.jpg","text":"TemporaryFile(/tmp/multipartBody6270563254636019744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711565238,"filename":"image_15042025_06_13_05_5626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/121eb75e9ea225c652e54d1640cbba0f.jpg","text":"TemporaryFile(/tmp/multipartBody7222003333515504309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711565238,"filename":"image_15042025_06_12_29_5714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349864647","file1":"1349864586","file0":"1349864526","file4":"1349864721","file5":"1349864819","file3":"1349864688"},"map_files_photo_id_array":[{"photo_id":"1349864819","filename":"file5"},{"photo_id":"1349864647","filename":"file2"},{"photo_id":"1349864721","filename":"file4"},{"photo_id":"1349864586","filename":"file1"},{"photo_id":"1349864526","filename":"file0"},{"photo_id":"1349864688","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349864647":["hashtag1","hashtag2"]},{"1349864586":["hashtag1","hashtag2"]},{"1349864688":["hashtag1","hashtag2"]},{"1349864721":["hashtag1","hashtag2"]},{"1349864526":["hashtag1","hashtag2"]},{"1349864819":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349864647, 1349864586, 1349864688, 1349864721, 1349864526, 1349864819)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.73795771598816 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:05:42.821067 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/11/59/image_15042025_11_59_05_6111.jpg', 2), ('/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_23_5658.jpg', 2), ('/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_17_5823.jpg', 2), ('/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_11_6907.jpg', 2), ('/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_05_5796.jpg', 2), ('/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_59_5842.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/11/59/image_15042025_11_59_05_6111.jpg', '/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_23_5658.jpg', '/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_17_5823.jpg', '/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_11_6907.jpg', '/home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_05_5796.jpg', '/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_59_5842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/11/59/image_15042025_11_59_05_6111.jpg /home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_23_5658.jpg /home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_17_5823.jpg /home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_11_6907.jpg /home/nano/Desktop/images/15042025/06/12/image_15042025_06_12_05_5796.jpg /home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_59_5842.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349865162","1349865086","1349865173","1349865149","1349865119","1349865166"],"photo_ids_order":["1349865086","1349865119","1349865149","1349865162","1349865166","1349865173"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/834237fb79a2458620cd619e91aea8f4.jpg","text":"TemporaryFile(/tmp/multipartBody6884459429843771481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711604639,"filename":"image_15042025_06_12_11_6907.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1dd90c0e2cc2d778751ad22a4395bb66.jpg","text":"TemporaryFile(/tmp/multipartBody3027958529667307381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711604639,"filename":"image_15042025_11_59_05_6111.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f1fb0a4c461907c067d7b0ae083cf91f.jpg","text":"TemporaryFile(/tmp/multipartBody1640245665415877184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711604639,"filename":"image_15042025_06_11_59_5842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65d2e62f5939ea0b9e5bbc651c7c1861.jpg","text":"TemporaryFile(/tmp/multipartBody7106875737098488410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711604639,"filename":"image_15042025_06_12_17_5823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ea8344764bc251cf95652c387d53625c.jpg","text":"TemporaryFile(/tmp/multipartBody7554979505385627395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711604639,"filename":"image_15042025_06_12_23_5658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/50ef81818df1fffb30339ea46fc8f01c.jpg","text":"TemporaryFile(/tmp/multipartBody2789143782062518010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711604639,"filename":"image_15042025_06_12_05_5796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349865149","file1":"1349865119","file0":"1349865086","file4":"1349865166","file5":"1349865173","file3":"1349865162"},"map_files_photo_id_array":[{"photo_id":"1349865173","filename":"file5"},{"photo_id":"1349865149","filename":"file2"},{"photo_id":"1349865166","filename":"file4"},{"photo_id":"1349865119","filename":"file1"},{"photo_id":"1349865086","filename":"file0"},{"photo_id":"1349865162","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349865162":["hashtag1","hashtag2"]},{"1349865086":["hashtag1","hashtag2"]},{"1349865173":["hashtag1","hashtag2"]},{"1349865149":["hashtag1","hashtag2"]},{"1349865119":["hashtag1","hashtag2"]},{"1349865166":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349865162, 1349865086, 1349865173, 1349865149, 1349865119, 1349865166)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.66006898880005 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:06:21.915754 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_53_5739.jpg', 2), ('/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_47_6047.jpg', 2), ('/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_41_5762.jpg', 2), ('/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_35_6806.jpg', 2), ('/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_29_5161.jpg', 2), ('/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_23_6906.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_53_5739.jpg', '/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_47_6047.jpg', '/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_41_5762.jpg', '/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_35_6806.jpg', '/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_29_5161.jpg', '/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_23_6906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_53_5739.jpg /home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_47_6047.jpg /home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_41_5762.jpg /home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_35_6806.jpg /home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_29_5161.jpg /home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_23_6906.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.48186731338500977 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443
\n\n' 400 [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:06:41.930517 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_53_5739.jpg', 2), ('/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_47_6047.jpg', 2), ('/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_41_5762.jpg', 2), ('/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_35_6806.jpg', 2), ('/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_29_5161.jpg', 2), ('/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_23_6906.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_53_5739.jpg', '/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_47_6047.jpg', '/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_41_5762.jpg', '/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_35_6806.jpg', '/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_29_5161.jpg', '/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_23_6906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_53_5739.jpg /home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_47_6047.jpg /home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_41_5762.jpg /home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_35_6806.jpg /home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_29_5161.jpg /home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_23_6906.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349865489","1349865453","1349865383","1349865419","1349865523","1349865346"],"photo_ids_order":["1349865346","1349865383","1349865419","1349865453","1349865489","1349865523"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/326d53b71261deabd2049d38cdd18775.jpg","text":"TemporaryFile(/tmp/multipartBody2613421797273307236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711663850,"filename":"image_15042025_06_11_29_5161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/afc2e8acfca8907eeffc646e97263bbe.jpg","text":"TemporaryFile(/tmp/multipartBody7503183780521596125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711663850,"filename":"image_15042025_06_11_35_6806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4c9ae75b01035ea8dc5a53da84696aae.jpg","text":"TemporaryFile(/tmp/multipartBody1821750638766643331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711663850,"filename":"image_15042025_06_11_47_6047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7dd34d15cbea182b781c39e71306c302.jpg","text":"TemporaryFile(/tmp/multipartBody7047694852816047280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711663850,"filename":"image_15042025_06_11_41_5762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ece1b3dcf2c559c494793576faf45ad7.jpg","text":"TemporaryFile(/tmp/multipartBody1511243511667192610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711663850,"filename":"image_15042025_06_11_23_6906.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a624f71bf8badbb457780b30991cdbd6.jpg","text":"TemporaryFile(/tmp/multipartBody7290128752100401669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711663850,"filename":"image_15042025_06_11_53_5739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349865419","file1":"1349865383","file0":"1349865346","file4":"1349865489","file5":"1349865523","file3":"1349865453"},"map_files_photo_id_array":[{"photo_id":"1349865523","filename":"file5"},{"photo_id":"1349865419","filename":"file2"},{"photo_id":"1349865489","filename":"file4"},{"photo_id":"1349865383","filename":"file1"},{"photo_id":"1349865346","filename":"file0"},{"photo_id":"1349865453","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349865489":["hashtag1","hashtag2"]},{"1349865453":["hashtag1","hashtag2"]},{"1349865383":["hashtag1","hashtag2"]},{"1349865419":["hashtag1","hashtag2"]},{"1349865523":["hashtag1","hashtag2"]},{"1349865346":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349865489, 1349865453, 1349865383, 1349865419, 1349865523, 1349865346)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.04088473320007 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:07:22.028117 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_16_5922.jpg', 2), ('/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_11_6081.jpg', 2), ('/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_59_6818.jpg', 2), ('/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_53_5805.jpg', 2), ('/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_47_5737.jpg', 2), ('/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_41_5785.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_16_5922.jpg', '/home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_11_6081.jpg', '/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_59_6818.jpg', '/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_53_5805.jpg', '/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_47_5737.jpg', '/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_41_5785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_16_5922.jpg /home/nano/Desktop/images/15042025/06/11/image_15042025_06_11_11_6081.jpg /home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_59_6818.jpg /home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_53_5805.jpg /home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_47_5737.jpg /home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_41_5785.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349865672","1349865729","1349865621","1349865612","1349865605","1349865802"],"photo_ids_order":["1349865605","1349865612","1349865621","1349865672","1349865729","1349865802"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8c47c3538583658a4a97d3ec819e40eb.jpg","text":"TemporaryFile(/tmp/multipartBody5539026130231419906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711703912,"filename":"image_15042025_06_10_53_5805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb9a7556af0a4779ca1ee0e579aa2a6c.jpg","text":"TemporaryFile(/tmp/multipartBody656371715832501170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711703912,"filename":"image_15042025_06_10_47_5737.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a01faf08a10ab5b729cab2909fdfda9.jpg","text":"TemporaryFile(/tmp/multipartBody5821210491415742565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711703912,"filename":"image_15042025_06_10_59_6818.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/63f906d9f31b99f45a6e2945e78e4ea3.jpg","text":"TemporaryFile(/tmp/multipartBody4187981255455964890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711703912,"filename":"image_15042025_06_11_11_6081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad6b1a2d2ace0b94218cbb8d61d70ef3.jpg","text":"TemporaryFile(/tmp/multipartBody6728478497746154517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711703912,"filename":"image_15042025_06_11_16_5922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c65a9a2bb9c9c75baec8a3ebaf056a04.jpg","text":"TemporaryFile(/tmp/multipartBody7085426075999440557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711703912,"filename":"image_15042025_06_10_41_5785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349865621","file1":"1349865612","file0":"1349865605","file4":"1349865729","file5":"1349865802","file3":"1349865672"},"map_files_photo_id_array":[{"photo_id":"1349865802","filename":"file5"},{"photo_id":"1349865621","filename":"file2"},{"photo_id":"1349865729","filename":"file4"},{"photo_id":"1349865612","filename":"file1"},{"photo_id":"1349865605","filename":"file0"},{"photo_id":"1349865672","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349865672":["hashtag1","hashtag2"]},{"1349865729":["hashtag1","hashtag2"]},{"1349865621":["hashtag1","hashtag2"]},{"1349865612":["hashtag1","hashtag2"]},{"1349865605":["hashtag1","hashtag2"]},{"1349865802":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349865672, 1349865729, 1349865621, 1349865612, 1349865605, 1349865802)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.010812520980835 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:08:02.822514 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_29_6785.jpg', 2), ('/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_22_5773.jpg', 2), ('/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_17_5933.jpg', 2), ('/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_11_5940.jpg', 2), ('/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_05_5857.jpg', 2), ('/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_59_5713.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_29_6785.jpg', '/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_22_5773.jpg', '/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_17_5933.jpg', '/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_11_5940.jpg', '/home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_05_5857.jpg', '/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_59_5713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_29_6785.jpg /home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_22_5773.jpg /home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_17_5933.jpg /home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_11_5940.jpg /home/nano/Desktop/images/15042025/06/10/image_15042025_06_10_05_5857.jpg /home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_59_5713.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349866164","1349866053","1349866107","1349866214","1349866004","1349865955"],"photo_ids_order":["1349865955","1349866004","1349866053","1349866107","1349866164","1349866214"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/475ea6bdbe7ad1af4798bae7bc82d971.jpg","text":"TemporaryFile(/tmp/multipartBody4407625085246318757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711744706,"filename":"image_15042025_06_10_05_5857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64d84b480869062b03a07f28134cfafb.jpg","text":"TemporaryFile(/tmp/multipartBody8232019982324647613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711744706,"filename":"image_15042025_06_10_17_5933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d5c989ff8028ff51123079ccc28814cf.jpg","text":"TemporaryFile(/tmp/multipartBody3143603539957245871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711744706,"filename":"image_15042025_06_10_11_5940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a695cb83986918280e52b27a0246992.jpg","text":"TemporaryFile(/tmp/multipartBody4768653096813627265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711744706,"filename":"image_15042025_06_09_59_5713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/504b1f6c0f546c41c3d2e65f9a816eef.jpg","text":"TemporaryFile(/tmp/multipartBody4284528010844556899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711744706,"filename":"image_15042025_06_10_22_5773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/47270c53509be625baa20f9133e9f491.jpg","text":"TemporaryFile(/tmp/multipartBody7843417433692126333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711744706,"filename":"image_15042025_06_10_29_6785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349866053","file1":"1349866004","file0":"1349865955","file4":"1349866164","file5":"1349866214","file3":"1349866107"},"map_files_photo_id_array":[{"photo_id":"1349866214","filename":"file5"},{"photo_id":"1349866053","filename":"file2"},{"photo_id":"1349866164","filename":"file4"},{"photo_id":"1349866004","filename":"file1"},{"photo_id":"1349865955","filename":"file0"},{"photo_id":"1349866107","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349866164":["hashtag1","hashtag2"]},{"1349866053":["hashtag1","hashtag2"]},{"1349866107":["hashtag1","hashtag2"]},{"1349866214":["hashtag1","hashtag2"]},{"1349866004":["hashtag1","hashtag2"]},{"1349865955":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349866164, 1349866053, 1349866107, 1349866214, 1349866004, 1349865955)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.731873750686646 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:08:42.323250 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/12/08/image_15042025_12_08_59_6082.jpg', 2), ('/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_53_6789.jpg', 2), ('/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_46_5761.jpg', 2), ('/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_41_6081.jpg', 2), ('/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_29_5737.jpg', 2), ('/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_23_5863.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/12/08/image_15042025_12_08_59_6082.jpg', '/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_53_6789.jpg', '/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_46_5761.jpg', '/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_41_6081.jpg', '/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_29_5737.jpg', '/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_23_5863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/12/08/image_15042025_12_08_59_6082.jpg /home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_53_6789.jpg /home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_46_5761.jpg /home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_41_6081.jpg /home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_29_5737.jpg /home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_23_5863.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349866314","1349866379","1349866349","1349866301","1349866393","1349866387"],"photo_ids_order":["1349866301","1349866314","1349866349","1349866379","1349866387","1349866393"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c88ea20e7843a93b1727d64e2029bc14.jpg","text":"TemporaryFile(/tmp/multipartBody6271860692104877614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711784138,"filename":"image_15042025_06_09_53_6789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df0538a37efa11346bc543f55e1aa8db.jpg","text":"TemporaryFile(/tmp/multipartBody2934861708216904697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711784138,"filename":"image_15042025_06_09_41_6081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8e1d200c8458c4789b53ab61021bebd7.jpg","text":"TemporaryFile(/tmp/multipartBody8203833453065983254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711784138,"filename":"image_15042025_06_09_46_5761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/892c17abab56e907fca343fe21e3cf9d.jpg","text":"TemporaryFile(/tmp/multipartBody3879293989209033762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711784138,"filename":"image_15042025_12_08_59_6082.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28e6c8ba65226ac7869a0ab2f43ba7dd.jpg","text":"TemporaryFile(/tmp/multipartBody1896457922427599200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711784138,"filename":"image_15042025_06_09_23_5863.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44469d08570334baf3df3da1c597a7f0.jpg","text":"TemporaryFile(/tmp/multipartBody509442611681631248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711784138,"filename":"image_15042025_06_09_29_5737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349866349","file1":"1349866314","file0":"1349866301","file4":"1349866387","file5":"1349866393","file3":"1349866379"},"map_files_photo_id_array":[{"photo_id":"1349866393","filename":"file5"},{"photo_id":"1349866349","filename":"file2"},{"photo_id":"1349866387","filename":"file4"},{"photo_id":"1349866314","filename":"file1"},{"photo_id":"1349866301","filename":"file0"},{"photo_id":"1349866379","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349866314":["hashtag1","hashtag2"]},{"1349866379":["hashtag1","hashtag2"]},{"1349866349":["hashtag1","hashtag2"]},{"1349866301":["hashtag1","hashtag2"]},{"1349866393":["hashtag1","hashtag2"]},{"1349866387":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349866314, 1349866379, 1349866349, 1349866301, 1349866393, 1349866387)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.514166831970215 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:09:22.434138 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_11_6771.jpg', 2), ('/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_04_5826.jpg', 2), ('/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_59_5720.jpg', 2), ('/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_53_5701.jpg', 2), ('/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_47_6143.jpg', 2), ('/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_35_5765.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_11_6771.jpg', '/home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_04_5826.jpg', '/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_59_5720.jpg', '/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_53_5701.jpg', '/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_47_6143.jpg', '/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_35_5765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_11_6771.jpg /home/nano/Desktop/images/15042025/06/09/image_15042025_06_09_04_5826.jpg /home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_59_5720.jpg /home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_53_5701.jpg /home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_47_6143.jpg /home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_35_5765.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349866571","1349866555","1349866615","1349866593","1349866507","1349866482"],"photo_ids_order":["1349866482","1349866507","1349866555","1349866571","1349866593","1349866615"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/119556be12e3d2fc53a1f020a0a6834f.jpg","text":"TemporaryFile(/tmp/multipartBody3642177951389692875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711824265,"filename":"image_15042025_06_08_53_5701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8e5f707c89727ff4165f66acaaaf39e.jpg","text":"TemporaryFile(/tmp/multipartBody4823093887120075792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711824265,"filename":"image_15042025_06_08_59_5720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c82619db7e112d13098edfb9b303fb5f.jpg","text":"TemporaryFile(/tmp/multipartBody8056208446944204808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711824265,"filename":"image_15042025_06_08_35_5765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/eacac37edfb258a7f8f04f73b24cea28.jpg","text":"TemporaryFile(/tmp/multipartBody1191989448047898515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711824265,"filename":"image_15042025_06_08_47_6143.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ed1a6ac7487ca2f28add0b4e776ccb5a.jpg","text":"TemporaryFile(/tmp/multipartBody2245884008348888285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711824265,"filename":"image_15042025_06_09_04_5826.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ac521b0c30c04832a9af28969481a680.jpg","text":"TemporaryFile(/tmp/multipartBody1818380060211868261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711824265,"filename":"image_15042025_06_09_11_6771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349866555","file1":"1349866507","file0":"1349866482","file4":"1349866593","file5":"1349866615","file3":"1349866571"},"map_files_photo_id_array":[{"photo_id":"1349866615","filename":"file5"},{"photo_id":"1349866555","filename":"file2"},{"photo_id":"1349866593","filename":"file4"},{"photo_id":"1349866507","filename":"file1"},{"photo_id":"1349866482","filename":"file0"},{"photo_id":"1349866571","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349866571":["hashtag1","hashtag2"]},{"1349866555":["hashtag1","hashtag2"]},{"1349866615":["hashtag1","hashtag2"]},{"1349866593":["hashtag1","hashtag2"]},{"1349866507":["hashtag1","hashtag2"]},{"1349866482":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349866571, 1349866555, 1349866615, 1349866593, 1349866507, 1349866482)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 36.55684566497803 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:10:03.290546 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_29_5770.jpg', 2), ('/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_23_6726.jpg', 2), ('/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_17_5704.jpg', 2), ('/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_11_6064.jpg', 2), ('/home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_59_5778.jpg', 2), ('/home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_53_5770.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_29_5770.jpg', '/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_23_6726.jpg', '/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_17_5704.jpg', '/home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_11_6064.jpg', '/home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_59_5778.jpg', '/home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_53_5770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_29_5770.jpg /home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_23_6726.jpg /home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_17_5704.jpg /home/nano/Desktop/images/15042025/06/08/image_15042025_06_08_11_6064.jpg /home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_59_5778.jpg /home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_53_5770.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349866898","1349866931","1349866762","1349866729","1349866866","1349866836"],"photo_ids_order":["1349866729","1349866762","1349866836","1349866866","1349866898","1349866931"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b0a8fcda8b74d9a99f71e4bc6ad35cf8.jpg","text":"TemporaryFile(/tmp/multipartBody3443584221795426730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711865103,"filename":"image_15042025_06_07_59_5778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/87be6b759339f9703edb00ebf46029c7.jpg","text":"TemporaryFile(/tmp/multipartBody4034078886024839612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711865103,"filename":"image_15042025_06_07_53_5770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9cfbf36e923225214eff2bacfe71f619.jpg","text":"TemporaryFile(/tmp/multipartBody5254831743866905745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711865103,"filename":"image_15042025_06_08_23_6726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b00dfb0b1d4cb6ac3b2837be136468b0.jpg","text":"TemporaryFile(/tmp/multipartBody2727747816171507033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711865103,"filename":"image_15042025_06_08_29_5770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a993a9eefa8b8c2231ddbbe56487835.jpg","text":"TemporaryFile(/tmp/multipartBody7732257401852916124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711865103,"filename":"image_15042025_06_08_11_6064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7d634b7d268e4d87cefd74b9f00912f7.jpg","text":"TemporaryFile(/tmp/multipartBody1192009915773661330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711865103,"filename":"image_15042025_06_08_17_5704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349866836","file1":"1349866762","file0":"1349866729","file4":"1349866898","file5":"1349866931","file3":"1349866866"},"map_files_photo_id_array":[{"photo_id":"1349866931","filename":"file5"},{"photo_id":"1349866836","filename":"file2"},{"photo_id":"1349866898","filename":"file4"},{"photo_id":"1349866762","filename":"file1"},{"photo_id":"1349866729","filename":"file0"},{"photo_id":"1349866866","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349866898":["hashtag1","hashtag2"]},{"1349866931":["hashtag1","hashtag2"]},{"1349866762":["hashtag1","hashtag2"]},{"1349866729":["hashtag1","hashtag2"]},{"1349866866":["hashtag1","hashtag2"]},{"1349866836":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349866898, 1349866931, 1349866762, 1349866729, 1349866866, 1349866836)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.787810802459717 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:10:42.604532 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_47_6861.jpg', 2), ('/home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_41_5667.jpg', 2), ('/home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_35_5826.jpg', 2), ('/home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_29_5997.jpg', 2), ('/home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_17_5800.jpg', 2), ('/home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_11_6815.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_47_6861.jpg', '/home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_41_5667.jpg', '/home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_35_5826.jpg', '/home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_29_5997.jpg', '/home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_17_5800.jpg', '/home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_11_6815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_47_6861.jpg /home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_41_5667.jpg /home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_35_5826.jpg /home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_29_5997.jpg /home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_17_5800.jpg /home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_11_6815.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349867147","1349867131","1349867104","1349867113","1349867079","1349867157"],"photo_ids_order":["1349867079","1349867104","1349867113","1349867131","1349867147","1349867157"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a5e6011b367856d5f8c13119c35204b1.jpg","text":"TemporaryFile(/tmp/multipartBody7624825905398385872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711904430,"filename":"image_15042025_06_07_17_5800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e101c3a204d0c03c842eb2663da9632e.jpg","text":"TemporaryFile(/tmp/multipartBody5496967536348182843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711904430,"filename":"image_15042025_06_07_29_5997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b17b4acc3e6ba4b35294b68a8399c640.jpg","text":"TemporaryFile(/tmp/multipartBody2663039512311372869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711904430,"filename":"image_15042025_06_07_41_5667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2e5f9b3483d9b33b9c5918b34b02b8ef.jpg","text":"TemporaryFile(/tmp/multipartBody2520826753607545398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711904430,"filename":"image_15042025_06_07_35_5826.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e31d5fc1f2652a9047ce4e10708e0c45.jpg","text":"TemporaryFile(/tmp/multipartBody1479929741572219478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711904430,"filename":"image_15042025_06_07_47_6861.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3ce29a446c5ca2e64579746712c98f5a.jpg","text":"TemporaryFile(/tmp/multipartBody3833668354113337372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711904430,"filename":"image_15042025_06_07_11_6815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349867113","file1":"1349867104","file0":"1349867079","file4":"1349867147","file5":"1349867157","file3":"1349867131"},"map_files_photo_id_array":[{"photo_id":"1349867157","filename":"file5"},{"photo_id":"1349867113","filename":"file2"},{"photo_id":"1349867147","filename":"file4"},{"photo_id":"1349867104","filename":"file1"},{"photo_id":"1349867079","filename":"file0"},{"photo_id":"1349867131","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349867147":["hashtag1","hashtag2"]},{"1349867131":["hashtag1","hashtag2"]},{"1349867104":["hashtag1","hashtag2"]},{"1349867113":["hashtag1","hashtag2"]},{"1349867079":["hashtag1","hashtag2"]},{"1349867157":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349867147, 1349867131, 1349867104, 1349867113, 1349867079, 1349867157)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.592917442321777 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:11:22.720974 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_05_5833.jpg', 2), ('/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_59_5698.jpg', 2), ('/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_53_5688.jpg', 2), ('/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_47_6798.jpg', 2), ('/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_41_5709.jpg', 2), ('/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_35_5639.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_05_5833.jpg', '/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_59_5698.jpg', '/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_53_5688.jpg', '/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_47_6798.jpg', '/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_41_5709.jpg', '/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_35_5639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/07/image_15042025_06_07_05_5833.jpg /home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_59_5698.jpg /home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_53_5688.jpg /home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_47_6798.jpg /home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_41_5709.jpg /home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_35_5639.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349867261","1349867255","1349867269","1349867248","1349867218","1349867212"],"photo_ids_order":["1349867212","1349867218","1349867248","1349867255","1349867261","1349867269"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ab15b993439d3275d86a8b6d200ed69.jpg","text":"TemporaryFile(/tmp/multipartBody4627485063345061101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711944524,"filename":"image_15042025_06_06_41_5709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2444f90acdd1016a62646f7c26fd65b0.jpg","text":"TemporaryFile(/tmp/multipartBody5279519767216402745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711944524,"filename":"image_15042025_06_06_47_6798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca83175d6c7394509b231e367b7830ef.jpg","text":"TemporaryFile(/tmp/multipartBody3502979262270922024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711944524,"filename":"image_15042025_06_06_35_5639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3c3a50f854d8422edf744bdab5d1cbab.jpg","text":"TemporaryFile(/tmp/multipartBody70695720726612983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711944524,"filename":"image_15042025_06_06_53_5688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90e23e307cc1906804088124347bbcba.jpg","text":"TemporaryFile(/tmp/multipartBody5861295682964013167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711944524,"filename":"image_15042025_06_06_59_5698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb75902fcb185d2fa5b8fc60f5955fa5.jpg","text":"TemporaryFile(/tmp/multipartBody7848085373972189720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711944524,"filename":"image_15042025_06_07_05_5833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349867248","file1":"1349867218","file0":"1349867212","file4":"1349867261","file5":"1349867269","file3":"1349867255"},"map_files_photo_id_array":[{"photo_id":"1349867269","filename":"file5"},{"photo_id":"1349867248","filename":"file2"},{"photo_id":"1349867261","filename":"file4"},{"photo_id":"1349867218","filename":"file1"},{"photo_id":"1349867212","filename":"file0"},{"photo_id":"1349867255","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349867261":["hashtag1","hashtag2"]},{"1349867255":["hashtag1","hashtag2"]},{"1349867269":["hashtag1","hashtag2"]},{"1349867248":["hashtag1","hashtag2"]},{"1349867218":["hashtag1","hashtag2"]},{"1349867212":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349867261, 1349867255, 1349867269, 1349867248, 1349867218, 1349867212)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.52426052093506 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:12:02.501212 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_29_6677.jpg', 2), ('/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_23_5645.jpg', 2), ('/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_17_5605.jpg', 2), ('/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_11_6655.jpg', 2), ('/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_05_5658.jpg', 2), ('/home/nano/Desktop/images/15042025/06/05/image_15042025_06_05_59_5638.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_29_6677.jpg', '/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_23_5645.jpg', '/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_17_5605.jpg', '/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_11_6655.jpg', '/home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_05_5658.jpg', '/home/nano/Desktop/images/15042025/06/05/image_15042025_06_05_59_5638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_29_6677.jpg /home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_23_5645.jpg /home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_17_5605.jpg /home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_11_6655.jpg /home/nano/Desktop/images/15042025/06/06/image_15042025_06_06_05_5658.jpg /home/nano/Desktop/images/15042025/06/05/image_15042025_06_05_59_5638.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349867576","1349867312","1349867482","1349867302","1349867394","1349867308"],"photo_ids_order":["1349867302","1349867308","1349867312","1349867394","1349867482","1349867576"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9180e939a4880c0b24eb57e7fa133bb6.jpg","text":"TemporaryFile(/tmp/multipartBody3313769175047103883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711984298,"filename":"image_15042025_06_05_59_5638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5e46d6e573f17dad21b83474a4fb8d44.jpg","text":"TemporaryFile(/tmp/multipartBody7086171149168092464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711984298,"filename":"image_15042025_06_06_17_5605.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3a646e17cfe288839a21d1cfac2c6dc5.jpg","text":"TemporaryFile(/tmp/multipartBody6498477621529039251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711984298,"filename":"image_15042025_06_06_05_5658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/68393a79b78e015437e9047290a5845f.jpg","text":"TemporaryFile(/tmp/multipartBody4248041778788690799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711984298,"filename":"image_15042025_06_06_29_6677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/942e74bcfe9be021fb4c363c03d3b575.jpg","text":"TemporaryFile(/tmp/multipartBody585698526740422488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711984298,"filename":"image_15042025_06_06_11_6655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e7239a68a94b22865a382c5c292e30c5.jpg","text":"TemporaryFile(/tmp/multipartBody4118386677801852758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744711984298,"filename":"image_15042025_06_06_23_5645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349867312","file1":"1349867308","file0":"1349867302","file4":"1349867482","file5":"1349867576","file3":"1349867394"},"map_files_photo_id_array":[{"photo_id":"1349867576","filename":"file5"},{"photo_id":"1349867312","filename":"file2"},{"photo_id":"1349867482","filename":"file4"},{"photo_id":"1349867308","filename":"file1"},{"photo_id":"1349867302","filename":"file0"},{"photo_id":"1349867394","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349867576":["hashtag1","hashtag2"]},{"1349867312":["hashtag1","hashtag2"]},{"1349867482":["hashtag1","hashtag2"]},{"1349867302":["hashtag1","hashtag2"]},{"1349867394":["hashtag1","hashtag2"]},{"1349867308":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349867576, 1349867312, 1349867482, 1349867302, 1349867394, 1349867308)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.050023317337036 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:12:41.970628 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/05/image_15042025_06_05_53_6626.jpg', 2), ('/home/nano/Desktop/images/15042025/06/05/image_15042025_06_05_47_5601.jpg', 2), ('/home/nano/Desktop/images/15042025/06/05/image_15042025_06_05_41_5739.jpg', 2), ('/home/nano/Desktop/images/15042025/06/04/image_15042025_06_04_11_5644.jpg', 2), ('/home/nano/Desktop/images/15042025/06/04/image_15042025_06_04_05_6638.jpg', 2), ('/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_59_5617.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/05/image_15042025_06_05_53_6626.jpg', '/home/nano/Desktop/images/15042025/06/05/image_15042025_06_05_47_5601.jpg', '/home/nano/Desktop/images/15042025/06/05/image_15042025_06_05_41_5739.jpg', '/home/nano/Desktop/images/15042025/06/04/image_15042025_06_04_11_5644.jpg', '/home/nano/Desktop/images/15042025/06/04/image_15042025_06_04_05_6638.jpg', '/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_59_5617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/05/image_15042025_06_05_53_6626.jpg /home/nano/Desktop/images/15042025/06/05/image_15042025_06_05_47_5601.jpg /home/nano/Desktop/images/15042025/06/05/image_15042025_06_05_41_5739.jpg /home/nano/Desktop/images/15042025/06/04/image_15042025_06_04_11_5644.jpg /home/nano/Desktop/images/15042025/06/04/image_15042025_06_04_05_6638.jpg /home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_59_5617.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349867700","1349867708","1349867723","1349867713","1349867733","1349867718"],"photo_ids_order":["1349867700","1349867708","1349867713","1349867718","1349867723","1349867733"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/85a8131ebe528b6d27638b22600bc1d2.jpg","text":"TemporaryFile(/tmp/multipartBody5215037120222113527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712023724,"filename":"image_15042025_06_05_53_6626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/850442e5e70dd1e048909b263d2775b7.jpg","text":"TemporaryFile(/tmp/multipartBody5978110346913799056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712023724,"filename":"image_15042025_06_05_47_5601.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6f55a3a495fdedd588f6227e43a047be.jpg","text":"TemporaryFile(/tmp/multipartBody2429175863577354634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712023724,"filename":"image_15042025_06_04_05_6638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df1f30809f99008e31b42feb1dd39cd4.jpg","text":"TemporaryFile(/tmp/multipartBody1262269663612440484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712023724,"filename":"image_15042025_06_05_41_5739.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5011ed9ef5efa7de3eeb333683439266.jpg","text":"TemporaryFile(/tmp/multipartBody5345010817970177483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712023724,"filename":"image_15042025_06_03_59_5617.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/367b4f2044125a60783793dbf9744fd9.jpg","text":"TemporaryFile(/tmp/multipartBody8796080846288533345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712023724,"filename":"image_15042025_06_04_11_5644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349867713","file1":"1349867708","file0":"1349867700","file4":"1349867723","file5":"1349867733","file3":"1349867718"},"map_files_photo_id_array":[{"photo_id":"1349867733","filename":"file5"},{"photo_id":"1349867713","filename":"file2"},{"photo_id":"1349867723","filename":"file4"},{"photo_id":"1349867708","filename":"file1"},{"photo_id":"1349867700","filename":"file0"},{"photo_id":"1349867718","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349867700":["hashtag1","hashtag2"]},{"1349867708":["hashtag1","hashtag2"]},{"1349867723":["hashtag1","hashtag2"]},{"1349867713":["hashtag1","hashtag2"]},{"1349867733":["hashtag1","hashtag2"]},{"1349867718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349867700, 1349867708, 1349867723, 1349867713, 1349867733, 1349867718)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.27992343902588 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:13:22.052770 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/12/13/image_15042025_12_13_59_6071.jpg', 2), ('/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_53_6642.jpg', 2), ('/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_46_5610.jpg', 2), ('/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_41_5683.jpg', 2), ('/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_35_5822.jpg', 2), ('/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_23_6773.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/12/13/image_15042025_12_13_59_6071.jpg', '/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_53_6642.jpg', '/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_46_5610.jpg', '/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_41_5683.jpg', '/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_35_5822.jpg', '/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_23_6773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/12/13/image_15042025_12_13_59_6071.jpg /home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_53_6642.jpg /home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_46_5610.jpg /home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_41_5683.jpg /home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_35_5822.jpg /home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_23_6773.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349867774","1349867756","1349867767","1349867761","1349867751","1349867802"],"photo_ids_order":["1349867751","1349867756","1349867761","1349867767","1349867774","1349867802"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9e10a14f6d3e124d1df93166927ad519.jpg","text":"TemporaryFile(/tmp/multipartBody9032597001125136429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712063844,"filename":"image_15042025_06_03_35_5822.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44989e884a7a8e8590e560a2ae4f7e18.jpg","text":"TemporaryFile(/tmp/multipartBody2695206640881798255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712063844,"filename":"image_15042025_06_03_53_6642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d9f845a0f785032705ed4fa967745b4.jpg","text":"TemporaryFile(/tmp/multipartBody3837545927853504785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712063844,"filename":"image_15042025_06_03_41_5683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/707fbadf91eb6e4df8f8590d6c873dc2.jpg","text":"TemporaryFile(/tmp/multipartBody7910564331374534946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712063844,"filename":"image_15042025_06_03_46_5610.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ddd63c8c7db1e158fd3fe263164a23c0.jpg","text":"TemporaryFile(/tmp/multipartBody3771102581539057224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712063844,"filename":"image_15042025_12_13_59_6071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41d075a9791d1e6bedfad5339b472b40.jpg","text":"TemporaryFile(/tmp/multipartBody7068012833045625554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712063844,"filename":"image_15042025_06_03_23_6773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349867761","file1":"1349867756","file0":"1349867751","file4":"1349867774","file5":"1349867802","file3":"1349867767"},"map_files_photo_id_array":[{"photo_id":"1349867802","filename":"file5"},{"photo_id":"1349867761","filename":"file2"},{"photo_id":"1349867774","filename":"file4"},{"photo_id":"1349867756","filename":"file1"},{"photo_id":"1349867751","filename":"file0"},{"photo_id":"1349867767","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349867774":["hashtag1","hashtag2"]},{"1349867756":["hashtag1","hashtag2"]},{"1349867767":["hashtag1","hashtag2"]},{"1349867761":["hashtag1","hashtag2"]},{"1349867751":["hashtag1","hashtag2"]},{"1349867802":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349867774, 1349867756, 1349867767, 1349867761, 1349867751, 1349867802)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.395156621932983 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:14:02.934088 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_17_5771.jpg', 2), ('/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_11_5805.jpg', 2), ('/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_05_5897.jpg', 2), ('/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_59_5853.jpg', 2), ('/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_53_6192.jpg', 2), ('/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_41_5870.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_17_5771.jpg', '/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_11_5805.jpg', '/home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_05_5897.jpg', '/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_59_5853.jpg', '/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_53_6192.jpg', '/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_41_5870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_17_5771.jpg /home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_11_5805.jpg /home/nano/Desktop/images/15042025/06/03/image_15042025_06_03_05_5897.jpg /home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_59_5853.jpg /home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_53_6192.jpg /home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_41_5870.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349867945","1349867909","1349867929","1349867938","1349867934","1349867925"],"photo_ids_order":["1349867909","1349867925","1349867929","1349867934","1349867938","1349867945"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aeaea1f207ed804dc05ce395ac8812a9.jpg","text":"TemporaryFile(/tmp/multipartBody4695756818376402015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712104808,"filename":"image_15042025_06_02_41_5870.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fc412f99f253bae4859dd85adfee0e35.jpg","text":"TemporaryFile(/tmp/multipartBody1331461662291930296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712104808,"filename":"image_15042025_06_03_17_5771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2ad86b1cb6012440a3b2932aef8babb8.jpg","text":"TemporaryFile(/tmp/multipartBody3484844927594769133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712104808,"filename":"image_15042025_06_03_05_5897.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3d31ef4305e46d6582ac709f4c0339b8.jpg","text":"TemporaryFile(/tmp/multipartBody2551922901966024151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712104808,"filename":"image_15042025_06_02_53_6192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2b3120660e0b9cd2b7946eb5f406533a.jpg","text":"TemporaryFile(/tmp/multipartBody3675648855527174725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712104808,"filename":"image_15042025_06_02_59_5853.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/41ee889160d150aaecd316a567eadea0.jpg","text":"TemporaryFile(/tmp/multipartBody4329867164871996906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712104808,"filename":"image_15042025_06_03_11_5805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349867929","file1":"1349867925","file0":"1349867909","file4":"1349867938","file5":"1349867945","file3":"1349867934"},"map_files_photo_id_array":[{"photo_id":"1349867945","filename":"file5"},{"photo_id":"1349867929","filename":"file2"},{"photo_id":"1349867938","filename":"file4"},{"photo_id":"1349867925","filename":"file1"},{"photo_id":"1349867909","filename":"file0"},{"photo_id":"1349867934","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349867945":["hashtag1","hashtag2"]},{"1349867909":["hashtag1","hashtag2"]},{"1349867929":["hashtag1","hashtag2"]},{"1349867938":["hashtag1","hashtag2"]},{"1349867934":["hashtag1","hashtag2"]},{"1349867925":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349867945, 1349867909, 1349867929, 1349867938, 1349867934, 1349867925)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.038764476776123 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:14:42.182138 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_35_5895.jpg', 2), ('/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_29_5758.jpg', 2), ('/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_23_6830.jpg', 2), ('/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_17_5875.jpg', 2), ('/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_11_6236.jpg', 2), ('/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_59_6824.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_35_5895.jpg', '/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_29_5758.jpg', '/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_23_6830.jpg', '/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_17_5875.jpg', '/home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_11_6236.jpg', '/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_59_6824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_35_5895.jpg /home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_29_5758.jpg /home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_23_6830.jpg /home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_17_5875.jpg /home/nano/Desktop/images/15042025/06/02/image_15042025_06_02_11_6236.jpg /home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_59_6824.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349868131","1349868088","1349868106","1349868057","1349868015","1349868102"],"photo_ids_order":["1349868015","1349868057","1349868088","1349868102","1349868106","1349868131"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/316ba2c877ceb545c089b629a4d2c04b.jpg","text":"TemporaryFile(/tmp/multipartBody8834383985506481284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712144037,"filename":"image_15042025_06_01_59_6824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2d4abcaf5f29cd479f0a37633ca00a8.jpg","text":"TemporaryFile(/tmp/multipartBody8933296502736359273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712144037,"filename":"image_15042025_06_02_23_6830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a0ac64a579bbab7bced93b8035bda335.jpg","text":"TemporaryFile(/tmp/multipartBody2640848446092951957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712144037,"filename":"image_15042025_06_02_11_6236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6df93d3cf6e6c5916ad369eeea64826b.jpg","text":"TemporaryFile(/tmp/multipartBody7297323777623279113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712144037,"filename":"image_15042025_06_02_29_5758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c35043d9385943cae2332ea65ac353f2.jpg","text":"TemporaryFile(/tmp/multipartBody5279893913786037558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712144037,"filename":"image_15042025_06_02_35_5895.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d339f0e73637a799e5562b72972f56cd.jpg","text":"TemporaryFile(/tmp/multipartBody4365355046720735885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712144037,"filename":"image_15042025_06_02_17_5875.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349868088","file1":"1349868057","file0":"1349868015","file4":"1349868106","file5":"1349868131","file3":"1349868102"},"map_files_photo_id_array":[{"photo_id":"1349868131","filename":"file5"},{"photo_id":"1349868088","filename":"file2"},{"photo_id":"1349868106","filename":"file4"},{"photo_id":"1349868057","filename":"file1"},{"photo_id":"1349868015","filename":"file0"},{"photo_id":"1349868102","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349868131":["hashtag1","hashtag2"]},{"1349868088":["hashtag1","hashtag2"]},{"1349868106":["hashtag1","hashtag2"]},{"1349868057":["hashtag1","hashtag2"]},{"1349868015":["hashtag1","hashtag2"]},{"1349868102":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349868131, 1349868088, 1349868106, 1349868057, 1349868015, 1349868102)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.354989290237427 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:15:22.318043 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_53_5803.jpg', 2), ('/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_47_5874.jpg', 2), ('/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_41_5776.jpg', 2), ('/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_35_5818.jpg', 2), ('/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_29_5893.jpg', 2), ('/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_17_5888.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_53_5803.jpg', '/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_47_5874.jpg', '/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_41_5776.jpg', '/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_35_5818.jpg', '/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_29_5893.jpg', '/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_17_5888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_53_5803.jpg /home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_47_5874.jpg /home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_41_5776.jpg /home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_35_5818.jpg /home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_29_5893.jpg /home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_17_5888.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349868268","1349868192","1349868261","1349868198","1349868222","1349868275"],"photo_ids_order":["1349868192","1349868198","1349868222","1349868261","1349868268","1349868275"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e5e12b581f1bcd790b36265fe13c246b.jpg","text":"TemporaryFile(/tmp/multipartBody7779877276644615242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712184171,"filename":"image_15042025_06_01_29_5893.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/af26501f39fb64011925c5c4ffff07db.jpg","text":"TemporaryFile(/tmp/multipartBody3924703116932356634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712184171,"filename":"image_15042025_06_01_53_5803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/518790a46e3ce5d033b9eb281d88c656.jpg","text":"TemporaryFile(/tmp/multipartBody4211575543882436438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712184171,"filename":"image_15042025_06_01_35_5818.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/948090a3743b5ff4f8d7a5b1c7c0da1f.jpg","text":"TemporaryFile(/tmp/multipartBody8725501092203457229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712184171,"filename":"image_15042025_06_01_47_5874.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8316c0e9ff5f97a77d0e59e8e8ac09b.jpg","text":"TemporaryFile(/tmp/multipartBody5212767066201173256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712184171,"filename":"image_15042025_06_01_41_5776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/72b91ac4c828ac5d557c0831b832930b.jpg","text":"TemporaryFile(/tmp/multipartBody2364899981138481917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712184171,"filename":"image_15042025_06_01_17_5888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349868222","file1":"1349868198","file0":"1349868192","file4":"1349868268","file5":"1349868275","file3":"1349868261"},"map_files_photo_id_array":[{"photo_id":"1349868275","filename":"file5"},{"photo_id":"1349868222","filename":"file2"},{"photo_id":"1349868268","filename":"file4"},{"photo_id":"1349868198","filename":"file1"},{"photo_id":"1349868192","filename":"file0"},{"photo_id":"1349868261","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349868268":["hashtag1","hashtag2"]},{"1349868192":["hashtag1","hashtag2"]},{"1349868261":["hashtag1","hashtag2"]},{"1349868198":["hashtag1","hashtag2"]},{"1349868222":["hashtag1","hashtag2"]},{"1349868275":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349868268, 1349868192, 1349868261, 1349868198, 1349868222, 1349868275)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 34.407461643218994 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:16:02.971847 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_11_6798.jpg', 2), ('/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_05_5806.jpg', 2), ('/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_59_5854.jpg', 2), ('/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_53_5813.jpg', 2), ('/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_47_5805.jpg', 2), ('/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_41_6849.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_11_6798.jpg', '/home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_05_5806.jpg', '/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_59_5854.jpg', '/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_53_5813.jpg', '/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_47_5805.jpg', '/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_41_6849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_11_6798.jpg /home/nano/Desktop/images/15042025/06/01/image_15042025_06_01_05_5806.jpg /home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_59_5854.jpg /home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_53_5813.jpg /home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_47_5805.jpg /home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_41_6849.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349868314","1349868302","1349868311","1349868298","1349868294","1349868306"],"photo_ids_order":["1349868294","1349868298","1349868302","1349868306","1349868311","1349868314"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b827bca60ebca1c377fdce0b9b8f829f.jpg","text":"TemporaryFile(/tmp/multipartBody8814183948284247156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712224811,"filename":"image_15042025_06_00_41_6849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/442f285cdc5aa0ac187e45b5801d5998.jpg","text":"TemporaryFile(/tmp/multipartBody8926714261978967018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712224811,"filename":"image_15042025_06_00_59_5854.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a360081504f65375b83aeba0e31825b5.jpg","text":"TemporaryFile(/tmp/multipartBody1218148282265356028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712224811,"filename":"image_15042025_06_00_47_5805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f1b732b312563a5bd8dcd28cbdfdfd3.jpg","text":"TemporaryFile(/tmp/multipartBody7366454250647055115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712224811,"filename":"image_15042025_06_01_05_5806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b41cb3d2c03298d4c8a384ed8f4d4de.jpg","text":"TemporaryFile(/tmp/multipartBody1035511199754827935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712224811,"filename":"image_15042025_06_01_11_6798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8ccd87c4517ba96140eec9b7131a661b.jpg","text":"TemporaryFile(/tmp/multipartBody4815674137453285457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712224811,"filename":"image_15042025_06_00_53_5813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349868302","file1":"1349868298","file0":"1349868294","file4":"1349868311","file5":"1349868314","file3":"1349868306"},"map_files_photo_id_array":[{"photo_id":"1349868314","filename":"file5"},{"photo_id":"1349868302","filename":"file2"},{"photo_id":"1349868311","filename":"file4"},{"photo_id":"1349868298","filename":"file1"},{"photo_id":"1349868294","filename":"file0"},{"photo_id":"1349868306","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349868314":["hashtag1","hashtag2"]},{"1349868302":["hashtag1","hashtag2"]},{"1349868311":["hashtag1","hashtag2"]},{"1349868298":["hashtag1","hashtag2"]},{"1349868294":["hashtag1","hashtag2"]},{"1349868306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349868314, 1349868302, 1349868311, 1349868298, 1349868294, 1349868306)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.201334953308105 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:16:42.424617 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_34_5846.jpg', 2), ('/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_29_5820.jpg', 2), ('/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_23_5630.jpg', 2), ('/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_17_6666.jpg', 2), ('/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_11_5675.jpg', 2), ('/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_05_5652.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_34_5846.jpg', '/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_29_5820.jpg', '/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_23_5630.jpg', '/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_17_6666.jpg', '/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_11_5675.jpg', '/home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_05_5652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_34_5846.jpg /home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_29_5820.jpg /home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_23_5630.jpg /home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_17_6666.jpg /home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_11_5675.jpg /home/nano/Desktop/images/15042025/06/00/image_15042025_06_00_05_5652.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349868361","1349868355","1349868370","1349868367","1349868346","1349868340"],"photo_ids_order":["1349868340","1349868346","1349868355","1349868361","1349868367","1349868370"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9343a69a6dc7929588037708464ef382.jpg","text":"TemporaryFile(/tmp/multipartBody3338050314926433188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712264257,"filename":"image_15042025_06_00_17_6666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4c4155a8e98cf0fba5979cc910a3ae3.jpg","text":"TemporaryFile(/tmp/multipartBody5988283167033440920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712264257,"filename":"image_15042025_06_00_23_5630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8f5719fff7b92a5a534abdec415b980.jpg","text":"TemporaryFile(/tmp/multipartBody4058884561450687930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712264257,"filename":"image_15042025_06_00_05_5652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/867a0aeb842861e10c58ec2365919f9c.jpg","text":"TemporaryFile(/tmp/multipartBody1949577872140641341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712264257,"filename":"image_15042025_06_00_11_5675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b2818417789a8e2ddcb40c508143938.jpg","text":"TemporaryFile(/tmp/multipartBody4688795252181434722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712264257,"filename":"image_15042025_06_00_29_5820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e938ad53a2650d0f467fa03b8d79e297.jpg","text":"TemporaryFile(/tmp/multipartBody4379320435908506334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712264257,"filename":"image_15042025_06_00_34_5846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349868355","file1":"1349868346","file0":"1349868340","file4":"1349868367","file5":"1349868370","file3":"1349868361"},"map_files_photo_id_array":[{"photo_id":"1349868370","filename":"file5"},{"photo_id":"1349868355","filename":"file2"},{"photo_id":"1349868367","filename":"file4"},{"photo_id":"1349868346","filename":"file1"},{"photo_id":"1349868340","filename":"file0"},{"photo_id":"1349868361","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349868361":["hashtag1","hashtag2"]},{"1349868355":["hashtag1","hashtag2"]},{"1349868370":["hashtag1","hashtag2"]},{"1349868367":["hashtag1","hashtag2"]},{"1349868346":["hashtag1","hashtag2"]},{"1349868340":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349868361, 1349868355, 1349868370, 1349868367, 1349868346, 1349868340)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.795307397842407 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:17:22.553602 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_59_5822.jpg', 2), ('/home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_41_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_35_6640.jpg', 2), ('/home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_29_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_23_5639.jpg', 2), ('/home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_17_6643.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_59_5822.jpg', '/home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_41_5640.jpg', '/home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_35_6640.jpg', '/home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_29_5633.jpg', '/home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_23_5639.jpg', '/home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_17_6643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_59_5822.jpg /home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_41_5640.jpg /home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_35_6640.jpg /home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_29_5633.jpg /home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_23_5639.jpg /home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_17_6643.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349868571","1349868655","1349868640","1349868541","1349868520","1349868549"],"photo_ids_order":["1349868520","1349868541","1349868549","1349868571","1349868640","1349868655"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca1b037b89515275479a896c0bf9734b.jpg","text":"TemporaryFile(/tmp/multipartBody6509711302448289584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712304287,"filename":"image_15042025_05_59_29_5633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0ba3f7a205979770e98382c99bc914de.jpg","text":"TemporaryFile(/tmp/multipartBody6521509241219890459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712304287,"filename":"image_15042025_05_59_17_6643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/91ba14eb0a33eb89bbd3e6fdc936aab5.jpg","text":"TemporaryFile(/tmp/multipartBody413886287634580107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712304287,"filename":"image_15042025_05_59_23_5639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dcb3c3a0fd7b16e1f6265a667fdb7d81.jpg","text":"TemporaryFile(/tmp/multipartBody777165260477024380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712304287,"filename":"image_15042025_05_59_41_5640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/602f0512db9ca76ee568e1b47c7d58e3.jpg","text":"TemporaryFile(/tmp/multipartBody3148264924290660608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712304287,"filename":"image_15042025_05_59_59_5822.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/523546abb46a3db65375e79a080ea6fe.jpg","text":"TemporaryFile(/tmp/multipartBody762646056269593537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712304287,"filename":"image_15042025_05_59_35_6640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349868549","file1":"1349868541","file0":"1349868520","file4":"1349868640","file5":"1349868655","file3":"1349868571"},"map_files_photo_id_array":[{"photo_id":"1349868655","filename":"file5"},{"photo_id":"1349868549","filename":"file2"},{"photo_id":"1349868640","filename":"file4"},{"photo_id":"1349868541","filename":"file1"},{"photo_id":"1349868520","filename":"file0"},{"photo_id":"1349868571","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349868571":["hashtag1","hashtag2"]},{"1349868655":["hashtag1","hashtag2"]},{"1349868640":["hashtag1","hashtag2"]},{"1349868541":["hashtag1","hashtag2"]},{"1349868520":["hashtag1","hashtag2"]},{"1349868549":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349868571, 1349868655, 1349868640, 1349868541, 1349868520, 1349868549)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.567299365997314 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:18:03.274581 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/12/18/image_15042025_12_18_59_6098.jpg', 2), ('/home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_11_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_05_6648.jpg', 2), ('/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_58_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_53_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_47_6620.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/12/18/image_15042025_12_18_59_6098.jpg', '/home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_11_5638.jpg', '/home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_05_6648.jpg', '/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_58_5642.jpg', '/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_53_5654.jpg', '/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_47_6620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/12/18/image_15042025_12_18_59_6098.jpg /home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_11_5638.jpg /home/nano/Desktop/images/15042025/05/59/image_15042025_05_59_05_6648.jpg /home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_58_5642.jpg /home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_53_5654.jpg /home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_47_6620.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349868780","1349868684","1349868786","1349868816","1349868773","1349868677"],"photo_ids_order":["1349868677","1349868684","1349868773","1349868780","1349868786","1349868816"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ae406dcf1a39323e0b0de8612941534.jpg","text":"TemporaryFile(/tmp/multipartBody2105671153547994278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712345040,"filename":"image_15042025_05_58_58_5642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0a55d1d52f1c4b1426dd40660e8a17af.jpg","text":"TemporaryFile(/tmp/multipartBody2080069122837681963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712345040,"filename":"image_15042025_05_59_11_5638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/deafb853e413f9f3c46968ec504f73c0.jpg","text":"TemporaryFile(/tmp/multipartBody4856392998355830628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712345040,"filename":"image_15042025_05_58_53_5654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6ec628f675d1c8b79cf3ea8a02a937fd.jpg","text":"TemporaryFile(/tmp/multipartBody4378486501631455025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712345040,"filename":"image_15042025_05_58_47_6620.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/42f7604b7e5775996972295270bb1dff.jpg","text":"TemporaryFile(/tmp/multipartBody6978215927564808896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712345040,"filename":"image_15042025_05_59_05_6648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d173752d444a368082567b56b40e8c3a.jpg","text":"TemporaryFile(/tmp/multipartBody6435884663464052207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712345040,"filename":"image_15042025_12_18_59_6098.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349868773","file1":"1349868684","file0":"1349868677","file4":"1349868786","file5":"1349868816","file3":"1349868780"},"map_files_photo_id_array":[{"photo_id":"1349868816","filename":"file5"},{"photo_id":"1349868773","filename":"file2"},{"photo_id":"1349868786","filename":"file4"},{"photo_id":"1349868684","filename":"file1"},{"photo_id":"1349868677","filename":"file0"},{"photo_id":"1349868780","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349868780":["hashtag1","hashtag2"]},{"1349868684":["hashtag1","hashtag2"]},{"1349868786":["hashtag1","hashtag2"]},{"1349868816":["hashtag1","hashtag2"]},{"1349868773":["hashtag1","hashtag2"]},{"1349868677":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349868780, 1349868684, 1349868786, 1349868816, 1349868773, 1349868677)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.995542764663696 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:18:42.664027 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_41_5653.jpg', 2), ('/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_35_5624.jpg', 2), ('/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_29_6623.jpg', 2), ('/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_23_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_17_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_11_6767.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_41_5653.jpg', '/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_35_5624.jpg', '/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_29_6623.jpg', '/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_23_5640.jpg', '/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_17_5626.jpg', '/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_11_6767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_41_5653.jpg /home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_35_5624.jpg /home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_29_6623.jpg /home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_23_5640.jpg /home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_17_5626.jpg /home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_11_6767.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349868877","1349868861","1349868867","1349868849","1349868872","1349868854"],"photo_ids_order":["1349868849","1349868854","1349868861","1349868867","1349868872","1349868877"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43481f027e30f3172f7ec8c5e3d9b11e.jpg","text":"TemporaryFile(/tmp/multipartBody9221722923900879973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712384398,"filename":"image_15042025_05_58_11_6767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/36827044cea3f7fef31d5b9dbae771e9.jpg","text":"TemporaryFile(/tmp/multipartBody7917095060026514704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712384398,"filename":"image_15042025_05_58_29_6623.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d14eb258d4748d0efa0e2963a6887811.jpg","text":"TemporaryFile(/tmp/multipartBody2234033820100883027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712384398,"filename":"image_15042025_05_58_23_5640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad1556edb6d4db37b91d673002ec453e.jpg","text":"TemporaryFile(/tmp/multipartBody7825429276115790677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712384398,"filename":"image_15042025_05_58_41_5653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d960d663a7995f1cfb3cb384ccf57a89.jpg","text":"TemporaryFile(/tmp/multipartBody2361253643172367291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712384398,"filename":"image_15042025_05_58_17_5626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90b8ec5fe8e110d9842294c86c615d7f.jpg","text":"TemporaryFile(/tmp/multipartBody6180754881766819164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712384398,"filename":"image_15042025_05_58_35_5624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349868861","file1":"1349868854","file0":"1349868849","file4":"1349868872","file5":"1349868877","file3":"1349868867"},"map_files_photo_id_array":[{"photo_id":"1349868877","filename":"file5"},{"photo_id":"1349868861","filename":"file2"},{"photo_id":"1349868872","filename":"file4"},{"photo_id":"1349868854","filename":"file1"},{"photo_id":"1349868849","filename":"file0"},{"photo_id":"1349868867","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349868877":["hashtag1","hashtag2"]},{"1349868861":["hashtag1","hashtag2"]},{"1349868867":["hashtag1","hashtag2"]},{"1349868849":["hashtag1","hashtag2"]},{"1349868872":["hashtag1","hashtag2"]},{"1349868854":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349868877, 1349868861, 1349868867, 1349868849, 1349868872, 1349868854)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.780121088027954 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:19:21.874687 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_05_5650.jpg', 2), ('/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_59_5723.jpg', 2), ('/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_53_6692.jpg', 2), ('/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_47_5705.jpg', 2), ('/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_41_5659.jpg', 2), ('/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_35_6751.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_05_5650.jpg', '/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_59_5723.jpg', '/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_53_6692.jpg', '/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_47_5705.jpg', '/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_41_5659.jpg', '/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_35_6751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/58/image_15042025_05_58_05_5650.jpg /home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_59_5723.jpg /home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_53_6692.jpg /home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_47_5705.jpg /home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_41_5659.jpg /home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_35_6751.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349868991","1349868948","1349868927","1349868921","1349868965","1349868935"],"photo_ids_order":["1349868921","1349868927","1349868935","1349868948","1349868965","1349868991"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4f75750390861e6b85beb82eca4c4c4a.jpg","text":"TemporaryFile(/tmp/multipartBody1909377240919419640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712423654,"filename":"image_15042025_05_57_35_6751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/689fe20a1b68a91b02f4ee98acafd039.jpg","text":"TemporaryFile(/tmp/multipartBody1058783085741859952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712423654,"filename":"image_15042025_05_57_47_5705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d4806005751578d3e640ed47d2b2232b.jpg","text":"TemporaryFile(/tmp/multipartBody4220978566898208339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712423654,"filename":"image_15042025_05_57_59_5723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dbfd6ce15e38816ce2b9eeb7f53d6a0e.jpg","text":"TemporaryFile(/tmp/multipartBody4933079335025889982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712423654,"filename":"image_15042025_05_58_05_5650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/531a95f73d78db7fd3a5cbff5c0be267.jpg","text":"TemporaryFile(/tmp/multipartBody8253490055395253463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712423654,"filename":"image_15042025_05_57_41_5659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2b306bc301628dba1fd9acdca885533.jpg","text":"TemporaryFile(/tmp/multipartBody2090616951353182486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712423654,"filename":"image_15042025_05_57_53_6692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349868935","file1":"1349868927","file0":"1349868921","file4":"1349868965","file5":"1349868991","file3":"1349868948"},"map_files_photo_id_array":[{"photo_id":"1349868991","filename":"file5"},{"photo_id":"1349868935","filename":"file2"},{"photo_id":"1349868965","filename":"file4"},{"photo_id":"1349868927","filename":"file1"},{"photo_id":"1349868921","filename":"file0"},{"photo_id":"1349868948","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349868991":["hashtag1","hashtag2"]},{"1349868948":["hashtag1","hashtag2"]},{"1349868927":["hashtag1","hashtag2"]},{"1349868921":["hashtag1","hashtag2"]},{"1349868965":["hashtag1","hashtag2"]},{"1349868935":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349868991, 1349868948, 1349868927, 1349868921, 1349868965, 1349868935)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.59833240509033 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:20:02.493188 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_28_5735.jpg', 2), ('/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_23_5706.jpg', 2), ('/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_17_5651.jpg', 2), ('/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_11_6698.jpg', 2), ('/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_05_5699.jpg', 2), ('/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_59_5662.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_28_5735.jpg', '/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_23_5706.jpg', '/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_17_5651.jpg', '/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_11_6698.jpg', '/home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_05_5699.jpg', '/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_59_5662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_28_5735.jpg /home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_23_5706.jpg /home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_17_5651.jpg /home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_11_6698.jpg /home/nano/Desktop/images/15042025/05/57/image_15042025_05_57_05_5699.jpg /home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_59_5662.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349869074","1349869068","1349869047","1349869085","1349869079","1349869064"],"photo_ids_order":["1349869047","1349869064","1349869068","1349869074","1349869079","1349869085"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/44c91e3b5937cc8e79adff92d3593bee.jpg","text":"TemporaryFile(/tmp/multipartBody6028460674979363565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712464274,"filename":"image_15042025_05_57_11_6698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7458656e382de02b029fc7131ba259ea.jpg","text":"TemporaryFile(/tmp/multipartBody1994035786634456385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712464274,"filename":"image_15042025_05_57_17_5651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/197aa213c7c1465e0862d622168c32ff.jpg","text":"TemporaryFile(/tmp/multipartBody8599434750132936843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712464274,"filename":"image_15042025_05_57_28_5735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b40f3c6b0a164732df6d3b84e1448f6.jpg","text":"TemporaryFile(/tmp/multipartBody158078244723290207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712464274,"filename":"image_15042025_05_56_59_5662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/00d96644bd552bf841dd1b0a59540d73.jpg","text":"TemporaryFile(/tmp/multipartBody5575822418547072854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712464274,"filename":"image_15042025_05_57_05_5699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df3423bdeaa6bed200eb5dcbff066518.jpg","text":"TemporaryFile(/tmp/multipartBody990517865435695406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712464274,"filename":"image_15042025_05_57_23_5706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349869068","file1":"1349869064","file0":"1349869047","file4":"1349869079","file5":"1349869085","file3":"1349869074"},"map_files_photo_id_array":[{"photo_id":"1349869085","filename":"file5"},{"photo_id":"1349869068","filename":"file2"},{"photo_id":"1349869079","filename":"file4"},{"photo_id":"1349869064","filename":"file1"},{"photo_id":"1349869047","filename":"file0"},{"photo_id":"1349869074","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349869074":["hashtag1","hashtag2"]},{"1349869068":["hashtag1","hashtag2"]},{"1349869047":["hashtag1","hashtag2"]},{"1349869085":["hashtag1","hashtag2"]},{"1349869079":["hashtag1","hashtag2"]},{"1349869064":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349869074, 1349869068, 1349869047, 1349869085, 1349869079, 1349869064)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.199153661727905 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:20:41.950115 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_53_6690.jpg', 2), ('/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_47_5725.jpg', 2), ('/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_41_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_35_6731.jpg', 2), ('/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_28_5673.jpg', 2), ('/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_23_5707.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_53_6690.jpg', '/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_47_5725.jpg', '/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_41_5654.jpg', '/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_35_6731.jpg', '/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_28_5673.jpg', '/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_23_5707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_53_6690.jpg /home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_47_5725.jpg /home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_41_5654.jpg /home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_35_6731.jpg /home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_28_5673.jpg /home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_23_5707.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349869134","1349869190","1349869154","1349869127","1349869121","1349869130"],"photo_ids_order":["1349869121","1349869127","1349869130","1349869134","1349869154","1349869190"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9222c8b83b471cbe1e0a4d30b35ffa4d.jpg","text":"TemporaryFile(/tmp/multipartBody4421297268081825042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712503725,"filename":"image_15042025_05_56_35_6731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d8f4b695e80f4c726e6a1f0e37a0238b.jpg","text":"TemporaryFile(/tmp/multipartBody5922358498861746596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712503725,"filename":"image_15042025_05_56_23_5707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cd43a8425e63d30ae23920ac3b52fce9.jpg","text":"TemporaryFile(/tmp/multipartBody597817248419993615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712503725,"filename":"image_15042025_05_56_28_5673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5d2d5c5eb6919014c9587040a2b9282a.jpg","text":"TemporaryFile(/tmp/multipartBody6327421978349817381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712503725,"filename":"image_15042025_05_56_47_5725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/df49d7152ddfcdca67d35b6c1df11ba7.jpg","text":"TemporaryFile(/tmp/multipartBody2140603048756224674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712503725,"filename":"image_15042025_05_56_53_6690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3e159c327ad83184b615728d9e5f02ee.jpg","text":"TemporaryFile(/tmp/multipartBody5568200096547899924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712503725,"filename":"image_15042025_05_56_41_5654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349869130","file1":"1349869127","file0":"1349869121","file4":"1349869154","file5":"1349869190","file3":"1349869134"},"map_files_photo_id_array":[{"photo_id":"1349869190","filename":"file5"},{"photo_id":"1349869130","filename":"file2"},{"photo_id":"1349869154","filename":"file4"},{"photo_id":"1349869127","filename":"file1"},{"photo_id":"1349869121","filename":"file0"},{"photo_id":"1349869134","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349869134":["hashtag1","hashtag2"]},{"1349869190":["hashtag1","hashtag2"]},{"1349869154":["hashtag1","hashtag2"]},{"1349869127":["hashtag1","hashtag2"]},{"1349869121":["hashtag1","hashtag2"]},{"1349869130":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349869134, 1349869190, 1349869154, 1349869127, 1349869121, 1349869130)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.97499966621399 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:21:22.078790 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_17_5756.jpg', 2), ('/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_05_5736.jpg', 2), ('/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_59_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_53_6715.jpg', 2), ('/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_46_5658.jpg', 2), ('/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_41_5701.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_17_5756.jpg', '/home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_05_5736.jpg', '/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_59_5637.jpg', '/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_53_6715.jpg', '/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_46_5658.jpg', '/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_41_5701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_17_5756.jpg /home/nano/Desktop/images/15042025/05/56/image_15042025_05_56_05_5736.jpg /home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_59_5637.jpg /home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_53_6715.jpg /home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_46_5658.jpg /home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_41_5701.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349869366","1349869360","1349869405","1349869347","1349869341","1349869439"],"photo_ids_order":["1349869341","1349869347","1349869360","1349869366","1349869405","1349869439"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1aa92dd23cf1f22ba14dae7804729d13.jpg","text":"TemporaryFile(/tmp/multipartBody8812419862676063818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712543859,"filename":"image_15042025_05_55_53_6715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a91c12697db1117f312c8850131ab7f3.jpg","text":"TemporaryFile(/tmp/multipartBody4281527933012867921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712543859,"filename":"image_15042025_05_55_59_5637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/819c5797ee817ee74b0141fb90f7b7ec.jpg","text":"TemporaryFile(/tmp/multipartBody1253093955663320164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712543859,"filename":"image_15042025_05_55_46_5658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/27b74d2aed2a6bfeb0cf6e5b1a0dcb2a.jpg","text":"TemporaryFile(/tmp/multipartBody5336801285295455278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712543859,"filename":"image_15042025_05_56_05_5736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/abc0973ec80cc72ed40e94c54bee184d.jpg","text":"TemporaryFile(/tmp/multipartBody2785249636948717596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712543859,"filename":"image_15042025_05_56_17_5756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/51b0aa24af85c447622a8b233f531a81.jpg","text":"TemporaryFile(/tmp/multipartBody4768234571729633103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712543859,"filename":"image_15042025_05_55_41_5701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349869360","file1":"1349869347","file0":"1349869341","file4":"1349869405","file5":"1349869439","file3":"1349869366"},"map_files_photo_id_array":[{"photo_id":"1349869439","filename":"file5"},{"photo_id":"1349869360","filename":"file2"},{"photo_id":"1349869405","filename":"file4"},{"photo_id":"1349869347","filename":"file1"},{"photo_id":"1349869341","filename":"file0"},{"photo_id":"1349869366","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349869366":["hashtag1","hashtag2"]},{"1349869360":["hashtag1","hashtag2"]},{"1349869405":["hashtag1","hashtag2"]},{"1349869347":["hashtag1","hashtag2"]},{"1349869341":["hashtag1","hashtag2"]},{"1349869439":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349869366, 1349869360, 1349869405, 1349869347, 1349869341, 1349869439)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.36056423187256 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:22:02.810180 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_35_5681.jpg', 2), ('/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_29_6681.jpg', 2), ('/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_23_5692.jpg', 2), ('/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_17_5697.jpg', 2), ('/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_11_6670.jpg', 2), ('/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_05_5637.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_35_5681.jpg', '/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_29_6681.jpg', '/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_23_5692.jpg', '/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_17_5697.jpg', '/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_11_6670.jpg', '/home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_05_5637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_35_5681.jpg /home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_29_6681.jpg /home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_23_5692.jpg /home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_17_5697.jpg /home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_11_6670.jpg /home/nano/Desktop/images/15042025/05/55/image_15042025_05_55_05_5637.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349869474","1349869504","1349869488","1349869493","1349869498","1349869483"],"photo_ids_order":["1349869474","1349869483","1349869488","1349869493","1349869498","1349869504"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2eb7d1bea1f0b3ca0db089968322155.jpg","text":"TemporaryFile(/tmp/multipartBody5560494611472597588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712584587,"filename":"image_15042025_05_55_35_5681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1d05af3d22f6835bdcc35a2a75dc39d.jpg","text":"TemporaryFile(/tmp/multipartBody5925473925484790346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712584587,"filename":"image_15042025_05_55_05_5637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d2be2be7cf413a2b3b41a45a56f24c1c.jpg","text":"TemporaryFile(/tmp/multipartBody3171991597971089148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712584587,"filename":"image_15042025_05_55_23_5692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b79f8b92811d089cb28900805600e4fb.jpg","text":"TemporaryFile(/tmp/multipartBody4899172746753260976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712584587,"filename":"image_15042025_05_55_17_5697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3633bc9e4ced4addba3353e407431b72.jpg","text":"TemporaryFile(/tmp/multipartBody2294449254113953005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712584587,"filename":"image_15042025_05_55_11_6670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0fa3aa83844ca75cdc5835b480935e11.jpg","text":"TemporaryFile(/tmp/multipartBody3339987359670577095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712584587,"filename":"image_15042025_05_55_29_6681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349869488","file1":"1349869483","file0":"1349869474","file4":"1349869498","file5":"1349869504","file3":"1349869493"},"map_files_photo_id_array":[{"photo_id":"1349869504","filename":"file5"},{"photo_id":"1349869488","filename":"file2"},{"photo_id":"1349869498","filename":"file4"},{"photo_id":"1349869483","filename":"file1"},{"photo_id":"1349869474","filename":"file0"},{"photo_id":"1349869493","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349869474":["hashtag1","hashtag2"]},{"1349869504":["hashtag1","hashtag2"]},{"1349869488":["hashtag1","hashtag2"]},{"1349869493":["hashtag1","hashtag2"]},{"1349869498":["hashtag1","hashtag2"]},{"1349869483":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349869474, 1349869504, 1349869488, 1349869493, 1349869498, 1349869483)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.32978129386902 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:22:42.169546 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_59_5701.jpg', 2), ('/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_53_6657.jpg', 2), ('/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_47_5606.jpg', 2), ('/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_41_5618.jpg', 2), ('/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_35_6620.jpg', 2), ('/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_29_5631.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_59_5701.jpg', '/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_53_6657.jpg', '/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_47_5606.jpg', '/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_41_5618.jpg', '/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_35_6620.jpg', '/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_29_5631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_59_5701.jpg /home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_53_6657.jpg /home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_47_5606.jpg /home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_41_5618.jpg /home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_35_6620.jpg /home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_29_5631.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349870021","1349869786","1349870074","1349869974","1349869941","1349869873"],"photo_ids_order":["1349869786","1349869873","1349869941","1349869974","1349870021","1349870074"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c2c10bd2e61d90b9bddcb466923e2874.jpg","text":"TemporaryFile(/tmp/multipartBody2300123440996755804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712623907,"filename":"image_15042025_05_54_35_6620.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5797869f7401123b079ef2b406427ffb.jpg","text":"TemporaryFile(/tmp/multipartBody4891057986107472642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712623907,"filename":"image_15042025_05_54_59_5701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b489d7b9a5572b4e454b34e48e470309.jpg","text":"TemporaryFile(/tmp/multipartBody1664356558094649422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712623907,"filename":"image_15042025_05_54_29_5631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/022de44fcd50ac5380efe83417229742.jpg","text":"TemporaryFile(/tmp/multipartBody661661189693657201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712623907,"filename":"image_15042025_05_54_41_5618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ad2f247483ab50d57fa373027621c2c5.jpg","text":"TemporaryFile(/tmp/multipartBody1071524628675384096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712623907,"filename":"image_15042025_05_54_47_5606.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/13d9fcfbb0d73cc6ada3255c8c2506e0.jpg","text":"TemporaryFile(/tmp/multipartBody6942740582172073865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712623907,"filename":"image_15042025_05_54_53_6657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349869941","file1":"1349869873","file0":"1349869786","file4":"1349870021","file5":"1349870074","file3":"1349869974"},"map_files_photo_id_array":[{"photo_id":"1349870074","filename":"file5"},{"photo_id":"1349869941","filename":"file2"},{"photo_id":"1349870021","filename":"file4"},{"photo_id":"1349869873","filename":"file1"},{"photo_id":"1349869786","filename":"file0"},{"photo_id":"1349869974","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349870021":["hashtag1","hashtag2"]},{"1349869786":["hashtag1","hashtag2"]},{"1349870074":["hashtag1","hashtag2"]},{"1349869974":["hashtag1","hashtag2"]},{"1349869941":["hashtag1","hashtag2"]},{"1349869873":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349870021, 1349869786, 1349870074, 1349869974, 1349869941, 1349869873)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.06378889083862 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:23:22.290147 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/12/23/image_15042025_12_23_59_6122.jpg', 2), ('/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_23_6613.jpg', 2), ('/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_17_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_11_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_05_6665.jpg', 2), ('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_59_5637.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/12/23/image_15042025_12_23_59_6122.jpg', '/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_23_6613.jpg', '/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_17_5642.jpg', '/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_11_5649.jpg', '/home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_05_6665.jpg', '/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_59_5637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/12/23/image_15042025_12_23_59_6122.jpg /home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_23_6613.jpg /home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_17_5642.jpg /home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_11_5649.jpg /home/nano/Desktop/images/15042025/05/54/image_15042025_05_54_05_6665.jpg /home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_59_5637.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349870181","1349870283","1349870214","1349870142","1349870189","1349870255"],"photo_ids_order":["1349870142","1349870181","1349870189","1349870214","1349870255","1349870283"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fea65686dddd5b5bae8ac5221e0efd14.jpg","text":"TemporaryFile(/tmp/multipartBody6478372637634956735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712664044,"filename":"image_15042025_05_54_23_6613.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5fc9ea254bf037470de2c8e7f54de40.jpg","text":"TemporaryFile(/tmp/multipartBody7605128408451863761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712664044,"filename":"image_15042025_05_53_59_5637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/75df26e2619bad424332059b1b7f7470.jpg","text":"TemporaryFile(/tmp/multipartBody8614978370682840897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712664044,"filename":"image_15042025_05_54_11_5649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd8f3012d5bb05681604343f52212e3d.jpg","text":"TemporaryFile(/tmp/multipartBody8389838382787306273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712664044,"filename":"image_15042025_12_23_59_6122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cca4b30c340044d71f7794c2d87a5f3d.jpg","text":"TemporaryFile(/tmp/multipartBody6399464987172263761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712664044,"filename":"image_15042025_05_54_17_5642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1fd6d0282fb0f3f7dc7fdc05f26bad42.jpg","text":"TemporaryFile(/tmp/multipartBody356203390148532131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712664044,"filename":"image_15042025_05_54_05_6665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349870189","file1":"1349870181","file0":"1349870142","file4":"1349870255","file5":"1349870283","file3":"1349870214"},"map_files_photo_id_array":[{"photo_id":"1349870283","filename":"file5"},{"photo_id":"1349870189","filename":"file2"},{"photo_id":"1349870255","filename":"file4"},{"photo_id":"1349870181","filename":"file1"},{"photo_id":"1349870142","filename":"file0"},{"photo_id":"1349870214","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349870181":["hashtag1","hashtag2"]},{"1349870283":["hashtag1","hashtag2"]},{"1349870214":["hashtag1","hashtag2"]},{"1349870142":["hashtag1","hashtag2"]},{"1349870189":["hashtag1","hashtag2"]},{"1349870255":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349870181, 1349870283, 1349870214, 1349870142, 1349870189, 1349870255)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.79565906524658 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:24:22.401028 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_53_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_47_6658.jpg', 2), ('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_29_6646.jpg', 2), ('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_23_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_17_6648.jpg', 2), ('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_10_5659.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_53_5649.jpg', '/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_47_6658.jpg', '/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_29_6646.jpg', '/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_23_5635.jpg', '/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_17_6648.jpg', '/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_10_5659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_53_5649.jpg /home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_47_6658.jpg /home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_29_6646.jpg /home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_23_5635.jpg /home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_17_6648.jpg /home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_10_5659.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.34792184829711914 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443
\n\n' 400 [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:24:42.405877 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_53_5649.jpg', 2), ('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_47_6658.jpg', 2), ('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_29_6646.jpg', 2), ('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_23_5635.jpg', 2), ('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_17_6648.jpg', 2), ('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_10_5659.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_53_5649.jpg', '/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_47_6658.jpg', '/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_29_6646.jpg', '/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_23_5635.jpg', '/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_17_6648.jpg', '/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_10_5659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_53_5649.jpg /home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_47_6658.jpg /home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_29_6646.jpg /home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_23_5635.jpg /home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_17_6648.jpg /home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_10_5659.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349870485","1349870410","1349870436","1349870480","1349870474","1349870468"],"photo_ids_order":["1349870410","1349870436","1349870468","1349870474","1349870480","1349870485"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f93e708254dc3ff49db091cb21cc5ec0.jpg","text":"TemporaryFile(/tmp/multipartBody2327826321508523982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712744135,"filename":"image_15042025_05_53_10_5659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5f1de9a2aae035edf39528fc8632968.jpg","text":"TemporaryFile(/tmp/multipartBody2318009171610210234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712744135,"filename":"image_15042025_05_53_53_5649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/34ad63043935be31e90448d4e297d646.jpg","text":"TemporaryFile(/tmp/multipartBody1025613249279049088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712744135,"filename":"image_15042025_05_53_47_6658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2970ec4cf38f26d0b6a41e5ed92a0945.jpg","text":"TemporaryFile(/tmp/multipartBody6719538217709910102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712744135,"filename":"image_15042025_05_53_17_6648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e4371456f88462d90aabac453d65979d.jpg","text":"TemporaryFile(/tmp/multipartBody3450363372245239616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712744135,"filename":"image_15042025_05_53_23_5635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/39c6a4bc627ad9fdc41abe86c2eb801d.jpg","text":"TemporaryFile(/tmp/multipartBody8387590821933556417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712744135,"filename":"image_15042025_05_53_29_6646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349870468","file1":"1349870436","file0":"1349870410","file4":"1349870480","file5":"1349870485","file3":"1349870474"},"map_files_photo_id_array":[{"photo_id":"1349870485","filename":"file5"},{"photo_id":"1349870468","filename":"file2"},{"photo_id":"1349870480","filename":"file4"},{"photo_id":"1349870436","filename":"file1"},{"photo_id":"1349870410","filename":"file0"},{"photo_id":"1349870474","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349870485":["hashtag1","hashtag2"]},{"1349870410":["hashtag1","hashtag2"]},{"1349870436":["hashtag1","hashtag2"]},{"1349870480":["hashtag1","hashtag2"]},{"1349870474":["hashtag1","hashtag2"]},{"1349870468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349870485, 1349870410, 1349870436, 1349870480, 1349870474, 1349870468)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.249385356903076 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:25:22.522906 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_05_5651.jpg', 2), ('/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_59_6657.jpg', 2), ('/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_52_5607.jpg', 2), ('/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_47_5609.jpg', 2), ('/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_41_6606.jpg', 2), ('/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_35_5610.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_05_5651.jpg', '/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_59_6657.jpg', '/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_52_5607.jpg', '/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_47_5609.jpg', '/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_41_6606.jpg', '/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_35_5610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/53/image_15042025_05_53_05_5651.jpg /home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_59_6657.jpg /home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_52_5607.jpg /home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_47_5609.jpg /home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_41_6606.jpg /home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_35_5610.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349870615","1349870603","1349870587","1349870542","1349870577","1349870535"],"photo_ids_order":["1349870535","1349870542","1349870577","1349870587","1349870603","1349870615"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/203d6dd264846d5f2edb9ae87730c860.jpg","text":"TemporaryFile(/tmp/multipartBody7134831503392246391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712784250,"filename":"image_15042025_05_52_35_5610.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/499003173528802191a1baab824e315a.jpg","text":"TemporaryFile(/tmp/multipartBody7922213923000361435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712784250,"filename":"image_15042025_05_52_41_6606.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c21897b51e56181853a5d66ad772d176.jpg","text":"TemporaryFile(/tmp/multipartBody3412018847821258603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712784250,"filename":"image_15042025_05_52_47_5609.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a2d30bcb97232a7347b02ba4f7c6837b.jpg","text":"TemporaryFile(/tmp/multipartBody3791612314217446240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712784250,"filename":"image_15042025_05_52_59_6657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a332797a009a55334d4152e20390bba.jpg","text":"TemporaryFile(/tmp/multipartBody2830759633523155142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712784250,"filename":"image_15042025_05_52_52_5607.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b672d0d3201f9632dc1b2744f147ceda.jpg","text":"TemporaryFile(/tmp/multipartBody7803437469297416276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712784250,"filename":"image_15042025_05_53_05_5651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349870577","file1":"1349870542","file0":"1349870535","file4":"1349870603","file5":"1349870615","file3":"1349870587"},"map_files_photo_id_array":[{"photo_id":"1349870615","filename":"file5"},{"photo_id":"1349870577","filename":"file2"},{"photo_id":"1349870603","filename":"file4"},{"photo_id":"1349870542","filename":"file1"},{"photo_id":"1349870535","filename":"file0"},{"photo_id":"1349870587","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349870615":["hashtag1","hashtag2"]},{"1349870603":["hashtag1","hashtag2"]},{"1349870587":["hashtag1","hashtag2"]},{"1349870542":["hashtag1","hashtag2"]},{"1349870577":["hashtag1","hashtag2"]},{"1349870535":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349870615, 1349870603, 1349870587, 1349870542, 1349870577, 1349870535)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.273505210876465 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:26:03.448083 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_29_5661.jpg', 2), ('/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_23_6621.jpg', 2), ('/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_17_5601.jpg', 2), ('/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_11_6685.jpg', 2), ('/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_04_5683.jpg', 2), ('/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_59_5783.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_29_5661.jpg', '/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_23_6621.jpg', '/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_17_5601.jpg', '/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_11_6685.jpg', '/home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_04_5683.jpg', '/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_59_5783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_29_5661.jpg /home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_23_6621.jpg /home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_17_5601.jpg /home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_11_6685.jpg /home/nano/Desktop/images/15042025/05/52/image_15042025_05_52_04_5683.jpg /home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_59_5783.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349870714","1349870708","1349870639","1349870659","1349870688","1349870703"],"photo_ids_order":["1349870639","1349870659","1349870688","1349870703","1349870708","1349870714"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b64021a6a4a87f102564a35f3500320b.jpg","text":"TemporaryFile(/tmp/multipartBody268193376820004214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712825192,"filename":"image_15042025_05_51_59_5783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04eea9352d86d42111900481b568430f.jpg","text":"TemporaryFile(/tmp/multipartBody8318715996902197352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712825192,"filename":"image_15042025_05_52_04_5683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a6c9940d1021faff0beeb783d09cb90b.jpg","text":"TemporaryFile(/tmp/multipartBody7166239445321071494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712825192,"filename":"image_15042025_05_52_29_5661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f5d5a7049fa6fdea7eaaa90022b199c3.jpg","text":"TemporaryFile(/tmp/multipartBody3518786498062199575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712825192,"filename":"image_15042025_05_52_23_6621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16d68f9308e4dabb1086f8349d8a8dd8.jpg","text":"TemporaryFile(/tmp/multipartBody8702935893314207182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712825192,"filename":"image_15042025_05_52_17_5601.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/71a5174a873915eba6deca5eaf214db9.jpg","text":"TemporaryFile(/tmp/multipartBody5948137809855264807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712825192,"filename":"image_15042025_05_52_11_6685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349870688","file1":"1349870659","file0":"1349870639","file4":"1349870708","file5":"1349870714","file3":"1349870703"},"map_files_photo_id_array":[{"photo_id":"1349870714","filename":"file5"},{"photo_id":"1349870688","filename":"file2"},{"photo_id":"1349870708","filename":"file4"},{"photo_id":"1349870659","filename":"file1"},{"photo_id":"1349870639","filename":"file0"},{"photo_id":"1349870703","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349870714":["hashtag1","hashtag2"]},{"1349870708":["hashtag1","hashtag2"]},{"1349870639":["hashtag1","hashtag2"]},{"1349870659":["hashtag1","hashtag2"]},{"1349870688":["hashtag1","hashtag2"]},{"1349870703":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349870714, 1349870708, 1349870639, 1349870659, 1349870688, 1349870703)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.04509139060974 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:26:42.647057 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_53_5772.jpg', 2), ('/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_47_5854.jpg', 2), ('/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_41_6854.jpg', 2), ('/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_35_5865.jpg', 2), ('/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_29_5741.jpg', 2), ('/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_23_5858.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_53_5772.jpg', '/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_47_5854.jpg', '/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_41_6854.jpg', '/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_35_5865.jpg', '/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_29_5741.jpg', '/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_23_5858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_53_5772.jpg /home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_47_5854.jpg /home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_41_6854.jpg /home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_35_5865.jpg /home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_29_5741.jpg /home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_23_5858.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349870813","1349870737","1349870853","1349870742","1349870783","1349870750"],"photo_ids_order":["1349870737","1349870742","1349870750","1349870783","1349870813","1349870853"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7bd485065799b923faa034612bc95fc6.jpg","text":"TemporaryFile(/tmp/multipartBody3436159813177289819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712864487,"filename":"image_15042025_05_51_29_5741.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/04440056627e3ffd4c0ddc46330e9399.jpg","text":"TemporaryFile(/tmp/multipartBody9051515188675816100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712864487,"filename":"image_15042025_05_51_53_5772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8077a93f03fd5f1fd57095a9aa39d462.jpg","text":"TemporaryFile(/tmp/multipartBody2063374533209113698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712864487,"filename":"image_15042025_05_51_23_5858.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f4ae3f719d3737e7fd4eb246b846244.jpg","text":"TemporaryFile(/tmp/multipartBody6298920978262865183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712864487,"filename":"image_15042025_05_51_47_5854.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5399f7007568ce5c221fc35487e04d1e.jpg","text":"TemporaryFile(/tmp/multipartBody4569066195517804844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712864487,"filename":"image_15042025_05_51_35_5865.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/22593d3553668e491e7061ef4812a888.jpg","text":"TemporaryFile(/tmp/multipartBody8433447293269633020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712864487,"filename":"image_15042025_05_51_41_6854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349870750","file1":"1349870742","file0":"1349870737","file4":"1349870813","file5":"1349870853","file3":"1349870783"},"map_files_photo_id_array":[{"photo_id":"1349870853","filename":"file5"},{"photo_id":"1349870750","filename":"file2"},{"photo_id":"1349870813","filename":"file4"},{"photo_id":"1349870742","filename":"file1"},{"photo_id":"1349870737","filename":"file0"},{"photo_id":"1349870783","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349870813":["hashtag1","hashtag2"]},{"1349870737":["hashtag1","hashtag2"]},{"1349870853":["hashtag1","hashtag2"]},{"1349870742":["hashtag1","hashtag2"]},{"1349870783":["hashtag1","hashtag2"]},{"1349870750":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349870813, 1349870737, 1349870853, 1349870742, 1349870783, 1349870750)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.668054342269897 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:27:22.799023 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_17_5816.jpg', 2), ('/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_11_6771.jpg', 2), ('/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_04_5806.jpg', 2), ('/home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_59_6085.jpg', 2), ('/home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_47_5800.jpg', 2), ('/home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_41_5830.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_17_5816.jpg', '/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_11_6771.jpg', '/home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_04_5806.jpg', '/home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_59_6085.jpg', '/home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_47_5800.jpg', '/home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_41_5830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_17_5816.jpg /home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_11_6771.jpg /home/nano/Desktop/images/15042025/05/51/image_15042025_05_51_04_5806.jpg /home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_59_6085.jpg /home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_47_5800.jpg /home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_41_5830.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349871002","1349871019","1349871015","1349871044","1349871032","1349871026"],"photo_ids_order":["1349871002","1349871015","1349871019","1349871026","1349871032","1349871044"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5b0576e571fa8799ff2f70dfd9c4173f.jpg","text":"TemporaryFile(/tmp/multipartBody6913834586730558707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712904654,"filename":"image_15042025_05_51_17_5816.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/70f92c9fb655f8e326818f3e8a7a9cb3.jpg","text":"TemporaryFile(/tmp/multipartBody5647546855204394194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712904654,"filename":"image_15042025_05_51_04_5806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1c617b1ddf74d4db0adac80c535a2a3a.jpg","text":"TemporaryFile(/tmp/multipartBody378957694713214172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712904654,"filename":"image_15042025_05_51_11_6771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c74714603f3b6463eb1d165004bd9348.jpg","text":"TemporaryFile(/tmp/multipartBody4023351758946155584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712904654,"filename":"image_15042025_05_50_41_5830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4a9f7cd566a61ff4b3f8087c44e03f72.jpg","text":"TemporaryFile(/tmp/multipartBody3654536137189648581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712904654,"filename":"image_15042025_05_50_47_5800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a5cc42f781f820fa2ed49a3a146f64f8.jpg","text":"TemporaryFile(/tmp/multipartBody504345000242447357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712904654,"filename":"image_15042025_05_50_59_6085.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871019","file1":"1349871015","file0":"1349871002","file4":"1349871032","file5":"1349871044","file3":"1349871026"},"map_files_photo_id_array":[{"photo_id":"1349871044","filename":"file5"},{"photo_id":"1349871019","filename":"file2"},{"photo_id":"1349871032","filename":"file4"},{"photo_id":"1349871015","filename":"file1"},{"photo_id":"1349871002","filename":"file0"},{"photo_id":"1349871026","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349871002":["hashtag1","hashtag2"]},{"1349871019":["hashtag1","hashtag2"]},{"1349871015":["hashtag1","hashtag2"]},{"1349871044":["hashtag1","hashtag2"]},{"1349871032":["hashtag1","hashtag2"]},{"1349871026":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349871002, 1349871019, 1349871015, 1349871044, 1349871032, 1349871026)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.492013692855835 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:28:02.436732 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_35_5775.jpg', 2), ('/home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_29_5761.jpg', 2), ('/home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_23_6813.jpg', 2), ('/home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_17_5710.jpg', 2), ('/home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_11_5792.jpg', 2), ('/home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_05_5773.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_35_5775.jpg', '/home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_29_5761.jpg', '/home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_23_6813.jpg', '/home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_17_5710.jpg', '/home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_11_5792.jpg', '/home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_05_5773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_35_5775.jpg /home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_29_5761.jpg /home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_23_6813.jpg /home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_17_5710.jpg /home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_11_5792.jpg /home/nano/Desktop/images/15042025/05/50/image_15042025_05_50_05_5773.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349871091","1349871075","1349871111","1349871098","1349871086","1349871080"],"photo_ids_order":["1349871075","1349871080","1349871086","1349871091","1349871098","1349871111"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/28af28ae5a0db08384474c7c7bbab065.jpg","text":"TemporaryFile(/tmp/multipartBody8120534525826133783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712944275,"filename":"image_15042025_05_50_17_5710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/efa63925467419f8f238161b58d01b84.jpg","text":"TemporaryFile(/tmp/multipartBody1677115391057528815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712944275,"filename":"image_15042025_05_50_35_5775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/186051e538e3faf47d5ef196850bcb91.jpg","text":"TemporaryFile(/tmp/multipartBody789648913881756342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712944275,"filename":"image_15042025_05_50_05_5773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0db43003954f02603a4a8ba0e0aef6ee.jpg","text":"TemporaryFile(/tmp/multipartBody6881491752420860668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712944275,"filename":"image_15042025_05_50_11_5792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9ff9790b13754fe36d526b85222e6e6b.jpg","text":"TemporaryFile(/tmp/multipartBody6630875263567115781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712944275,"filename":"image_15042025_05_50_23_6813.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/892d1baf414a90ec4e1bca07627c326e.jpg","text":"TemporaryFile(/tmp/multipartBody7450795862951346892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712944275,"filename":"image_15042025_05_50_29_5761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871086","file1":"1349871080","file0":"1349871075","file4":"1349871098","file5":"1349871111","file3":"1349871091"},"map_files_photo_id_array":[{"photo_id":"1349871111","filename":"file5"},{"photo_id":"1349871086","filename":"file2"},{"photo_id":"1349871098","filename":"file4"},{"photo_id":"1349871080","filename":"file1"},{"photo_id":"1349871075","filename":"file0"},{"photo_id":"1349871091","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349871091":["hashtag1","hashtag2"]},{"1349871075":["hashtag1","hashtag2"]},{"1349871111":["hashtag1","hashtag2"]},{"1349871098":["hashtag1","hashtag2"]},{"1349871086":["hashtag1","hashtag2"]},{"1349871080":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349871091, 1349871075, 1349871111, 1349871098, 1349871086, 1349871080)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 29.965169191360474 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:28:41.926592 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/12/28/image_15042025_12_28_59_6089.jpg', 2), ('/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_59_6697.jpg', 2), ('/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_53_5637.jpg', 2), ('/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_47_5679.jpg', 2), ('/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_41_6724.jpg', 2), ('/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_35_5665.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/12/28/image_15042025_12_28_59_6089.jpg', '/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_59_6697.jpg', '/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_53_5637.jpg', '/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_47_5679.jpg', '/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_41_6724.jpg', '/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_35_5665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/12/28/image_15042025_12_28_59_6089.jpg /home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_59_6697.jpg /home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_53_5637.jpg /home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_47_5679.jpg /home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_41_6724.jpg /home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_35_5665.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349871262","1349871271","1349871268","1349871256","1349871276","1349871249"],"photo_ids_order":["1349871249","1349871256","1349871262","1349871268","1349871271","1349871276"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6c3e056e8715eba58b7aefce4061c489.jpg","text":"TemporaryFile(/tmp/multipartBody3217395569189826323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712983737,"filename":"image_15042025_05_49_53_5637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/457c078038ed64d620186138642cb59f.jpg","text":"TemporaryFile(/tmp/multipartBody3020188151872635867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712983737,"filename":"image_15042025_05_49_41_6724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2716197fe8c64fbd72d10158047105cb.jpg","text":"TemporaryFile(/tmp/multipartBody7476148492580012175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712983737,"filename":"image_15042025_05_49_47_5679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1a212822704e4131e45d6bba3bf7a19.jpg","text":"TemporaryFile(/tmp/multipartBody674899541152521646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712983737,"filename":"image_15042025_05_49_59_6697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f663ce7789125520e62fd12a36efc345.jpg","text":"TemporaryFile(/tmp/multipartBody668656129324118491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712983737,"filename":"image_15042025_05_49_35_5665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f4b6dd2a385716b142812e8381dc5017.jpg","text":"TemporaryFile(/tmp/multipartBody458832181561702097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744712983737,"filename":"image_15042025_12_28_59_6089.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871262","file1":"1349871256","file0":"1349871249","file4":"1349871271","file5":"1349871276","file3":"1349871268"},"map_files_photo_id_array":[{"photo_id":"1349871276","filename":"file5"},{"photo_id":"1349871262","filename":"file2"},{"photo_id":"1349871271","filename":"file4"},{"photo_id":"1349871256","filename":"file1"},{"photo_id":"1349871249","filename":"file0"},{"photo_id":"1349871268","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349871262":["hashtag1","hashtag2"]},{"1349871271":["hashtag1","hashtag2"]},{"1349871268":["hashtag1","hashtag2"]},{"1349871256":["hashtag1","hashtag2"]},{"1349871276":["hashtag1","hashtag2"]},{"1349871249":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349871262, 1349871271, 1349871268, 1349871256, 1349871276, 1349871249)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.095669984817505 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:29:22.059177 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_29_5634.jpg', 2), ('/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_23_6655.jpg', 2), ('/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_17_5609.jpg', 2), ('/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_05_6659.jpg', 2), ('/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_59_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_53_5712.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_29_5634.jpg', '/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_23_6655.jpg', '/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_17_5609.jpg', '/home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_05_6659.jpg', '/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_59_5642.jpg', '/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_53_5712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_29_5634.jpg /home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_23_6655.jpg /home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_17_5609.jpg /home/nano/Desktop/images/15042025/05/49/image_15042025_05_49_05_6659.jpg /home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_59_5642.jpg /home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_53_5712.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349871331","1349871319","1349871310","1349871299","1349871314","1349871305"],"photo_ids_order":["1349871299","1349871305","1349871310","1349871314","1349871319","1349871331"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6aeaf2219de778ce11404612c3647a36.jpg","text":"TemporaryFile(/tmp/multipartBody6731696520067599008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713023793,"filename":"image_15042025_05_48_53_5712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16567a006adb39222e11b4301991bad8.jpg","text":"TemporaryFile(/tmp/multipartBody8831812640442657333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713023793,"filename":"image_15042025_05_48_59_5642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/20fefe2fbd13792629ae4ecc7272eff8.jpg","text":"TemporaryFile(/tmp/multipartBody1204818039082455743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713023793,"filename":"image_15042025_05_49_17_5609.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/65769ae69b14f19449e19d7f20d1519b.jpg","text":"TemporaryFile(/tmp/multipartBody691626228282226686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713023793,"filename":"image_15042025_05_49_29_5634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ad43d11e9dafcec052ba29173876e6a.jpg","text":"TemporaryFile(/tmp/multipartBody2209221200559995782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713023793,"filename":"image_15042025_05_49_05_6659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26a84541fcf62e6d8b34fb6ded57fbb5.jpg","text":"TemporaryFile(/tmp/multipartBody305703192820760594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713023793,"filename":"image_15042025_05_49_23_6655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871310","file1":"1349871305","file0":"1349871299","file4":"1349871319","file5":"1349871331","file3":"1349871314"},"map_files_photo_id_array":[{"photo_id":"1349871331","filename":"file5"},{"photo_id":"1349871310","filename":"file2"},{"photo_id":"1349871319","filename":"file4"},{"photo_id":"1349871305","filename":"file1"},{"photo_id":"1349871299","filename":"file0"},{"photo_id":"1349871314","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349871331":["hashtag1","hashtag2"]},{"1349871319":["hashtag1","hashtag2"]},{"1349871310":["hashtag1","hashtag2"]},{"1349871299":["hashtag1","hashtag2"]},{"1349871314":["hashtag1","hashtag2"]},{"1349871305":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349871331, 1349871319, 1349871310, 1349871299, 1349871314, 1349871305)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.998652458190918 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:30:02.670256 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_47_6678.jpg', 2), ('/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_41_5608.jpg', 2), ('/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_35_5623.jpg', 2), ('/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_29_6618.jpg', 2), ('/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_17_6613.jpg', 2), ('/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_11_5647.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_47_6678.jpg', '/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_41_5608.jpg', '/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_35_5623.jpg', '/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_29_6618.jpg', '/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_17_6613.jpg', '/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_11_5647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_47_6678.jpg /home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_41_5608.jpg /home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_35_5623.jpg /home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_29_6618.jpg /home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_17_6613.jpg /home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_11_5647.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349871361","1349871379","1349871372","1349871383","1349871377","1349871368"],"photo_ids_order":["1349871361","1349871368","1349871372","1349871377","1349871379","1349871383"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f46e3841c7e745dd8373d4021ec1925.jpg","text":"TemporaryFile(/tmp/multipartBody3524945309204693655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713064429,"filename":"image_15042025_05_48_47_6678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1ea5c03d32f184963217c7c7faf739b9.jpg","text":"TemporaryFile(/tmp/multipartBody3466352124575778818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713064429,"filename":"image_15042025_05_48_17_6613.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/346238ec1d8ea2faef6a6e7a03b5982f.jpg","text":"TemporaryFile(/tmp/multipartBody2126424398064944889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713064429,"filename":"image_15042025_05_48_35_5623.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2a2b4a70017cb3cc1c5317f832fb9e94.jpg","text":"TemporaryFile(/tmp/multipartBody4533273206165968272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713064429,"filename":"image_15042025_05_48_11_5647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1836cb07534b1aacf86c5a27e340c56d.jpg","text":"TemporaryFile(/tmp/multipartBody2170601558716696719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713064429,"filename":"image_15042025_05_48_29_6618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/caad5ed33e9a7791cda33ffce441d65e.jpg","text":"TemporaryFile(/tmp/multipartBody8175986152924080904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713064429,"filename":"image_15042025_05_48_41_5608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871372","file1":"1349871368","file0":"1349871361","file4":"1349871379","file5":"1349871383","file3":"1349871377"},"map_files_photo_id_array":[{"photo_id":"1349871383","filename":"file5"},{"photo_id":"1349871372","filename":"file2"},{"photo_id":"1349871379","filename":"file4"},{"photo_id":"1349871368","filename":"file1"},{"photo_id":"1349871361","filename":"file0"},{"photo_id":"1349871377","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349871361":["hashtag1","hashtag2"]},{"1349871379":["hashtag1","hashtag2"]},{"1349871372":["hashtag1","hashtag2"]},{"1349871383":["hashtag1","hashtag2"]},{"1349871377":["hashtag1","hashtag2"]},{"1349871368":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349871361, 1349871379, 1349871372, 1349871383, 1349871377, 1349871368)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.73278284072876 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:30:42.193358 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_05_5654.jpg', 2), ('/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_59_6661.jpg', 2), ('/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_53_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_47_5625.jpg', 2), ('/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_41_6682.jpg', 2), ('/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_35_5616.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_05_5654.jpg', '/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_59_6661.jpg', '/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_53_5629.jpg', '/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_47_5625.jpg', '/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_41_6682.jpg', '/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_35_5616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/48/image_15042025_05_48_05_5654.jpg /home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_59_6661.jpg /home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_53_5629.jpg /home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_47_5625.jpg /home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_41_6682.jpg /home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_35_5616.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349871427","1349871406","1349871421","1349871434","1349871413","1349871425"],"photo_ids_order":["1349871406","1349871413","1349871421","1349871425","1349871427","1349871434"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/93ddf58db8f553443b8d4a474da9d5af.jpg","text":"TemporaryFile(/tmp/multipartBody889252744247257823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713103945,"filename":"image_15042025_05_47_41_6682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f702acc99a62f0adf6adf253ed60b3dc.jpg","text":"TemporaryFile(/tmp/multipartBody5518412537353421120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713103945,"filename":"image_15042025_05_48_05_5654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/daaf2c99136847a62ae093d247e115e9.jpg","text":"TemporaryFile(/tmp/multipartBody6993031821000816533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713103945,"filename":"image_15042025_05_47_53_5629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2a84ccdba6fcf0d7e8109fed163698c9.jpg","text":"TemporaryFile(/tmp/multipartBody3110137461106075846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713103945,"filename":"image_15042025_05_47_35_5616.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b187878c02d7cd90c45579ea435c4f1.jpg","text":"TemporaryFile(/tmp/multipartBody3607602762481344073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713103945,"filename":"image_15042025_05_47_59_6661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ff9de0a5d76bf48cbad406c0caba69d1.jpg","text":"TemporaryFile(/tmp/multipartBody6179804831714296214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713103945,"filename":"image_15042025_05_47_47_5625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871421","file1":"1349871413","file0":"1349871406","file4":"1349871427","file5":"1349871434","file3":"1349871425"},"map_files_photo_id_array":[{"photo_id":"1349871434","filename":"file5"},{"photo_id":"1349871421","filename":"file2"},{"photo_id":"1349871427","filename":"file4"},{"photo_id":"1349871413","filename":"file1"},{"photo_id":"1349871406","filename":"file0"},{"photo_id":"1349871425","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349871427":["hashtag1","hashtag2"]},{"1349871406":["hashtag1","hashtag2"]},{"1349871421":["hashtag1","hashtag2"]},{"1349871434":["hashtag1","hashtag2"]},{"1349871413":["hashtag1","hashtag2"]},{"1349871425":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349871427, 1349871406, 1349871421, 1349871434, 1349871413, 1349871425)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.75418782234192 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:31:22.305043 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_29_5642.jpg', 2), ('/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_23_6702.jpg', 2), ('/home/nano/Desktop/images/15042025/05/43/image_15042025_05_43_59_5861.jpg', 2), ('/home/nano/Desktop/images/15042025/05/38/image_15042025_05_38_59_5973.jpg', 2), ('/home/nano/Desktop/images/15042025/05/33/image_15042025_05_33_59_6032.jpg', 2), ('/home/nano/Desktop/images/15042025/05/32/image_15042025_05_32_11_5683.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_29_5642.jpg', '/home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_23_6702.jpg', '/home/nano/Desktop/images/15042025/05/43/image_15042025_05_43_59_5861.jpg', '/home/nano/Desktop/images/15042025/05/38/image_15042025_05_38_59_5973.jpg', '/home/nano/Desktop/images/15042025/05/33/image_15042025_05_33_59_6032.jpg', '/home/nano/Desktop/images/15042025/05/32/image_15042025_05_32_11_5683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_29_5642.jpg /home/nano/Desktop/images/15042025/05/47/image_15042025_05_47_23_6702.jpg /home/nano/Desktop/images/15042025/05/43/image_15042025_05_43_59_5861.jpg /home/nano/Desktop/images/15042025/05/38/image_15042025_05_38_59_5973.jpg /home/nano/Desktop/images/15042025/05/33/image_15042025_05_33_59_6032.jpg /home/nano/Desktop/images/15042025/05/32/image_15042025_05_32_11_5683.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349871481","1349871460","1349871468","1349871453","1349871473","1349871490"],"photo_ids_order":["1349871453","1349871460","1349871468","1349871473","1349871481","1349871490"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1008dbc5797aa3ceb0868f3b6db84773.jpg","text":"TemporaryFile(/tmp/multipartBody9199632261626979033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713144161,"filename":"image_15042025_05_33_59_6032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/863a90f567e59cafd8ded74e20261006.jpg","text":"TemporaryFile(/tmp/multipartBody7427832803729732358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713144161,"filename":"image_15042025_05_47_23_6702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/de11a5f5c14237a630f0fc6dd326caba.jpg","text":"TemporaryFile(/tmp/multipartBody7561626437621815376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713144161,"filename":"image_15042025_05_43_59_5861.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/dc5ada69c5a1ed6c87692ae9cc9b4c39.jpg","text":"TemporaryFile(/tmp/multipartBody3893361323336028234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713144161,"filename":"image_15042025_05_47_29_5642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7af1f92c996c72c83751b116b083c1a2.jpg","text":"TemporaryFile(/tmp/multipartBody934246225854625675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713144161,"filename":"image_15042025_05_38_59_5973.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5f39df0e3553fed07662f05c6e64ff8c.jpg","text":"TemporaryFile(/tmp/multipartBody1958016161323501428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713144161,"filename":"image_15042025_05_32_11_5683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871468","file1":"1349871460","file0":"1349871453","file4":"1349871481","file5":"1349871490","file3":"1349871473"},"map_files_photo_id_array":[{"photo_id":"1349871490","filename":"file5"},{"photo_id":"1349871468","filename":"file2"},{"photo_id":"1349871481","filename":"file4"},{"photo_id":"1349871460","filename":"file1"},{"photo_id":"1349871453","filename":"file0"},{"photo_id":"1349871473","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349871481":["hashtag1","hashtag2"]},{"1349871460":["hashtag1","hashtag2"]},{"1349871468":["hashtag1","hashtag2"]},{"1349871453":["hashtag1","hashtag2"]},{"1349871473":["hashtag1","hashtag2"]},{"1349871490":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349871481, 1349871460, 1349871468, 1349871453, 1349871473, 1349871490)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.97752237319946 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:32:02.997872 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/32/image_15042025_05_32_05_6717.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_59_5640.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_53_5607.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_47_6681.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_29_5695.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_23_6818.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/32/image_15042025_05_32_05_6717.jpg', '/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_59_5640.jpg', '/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_53_5607.jpg', '/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_47_6681.jpg', '/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_29_5695.jpg', '/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_23_6818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/32/image_15042025_05_32_05_6717.jpg /home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_59_5640.jpg /home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_53_5607.jpg /home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_47_6681.jpg /home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_29_5695.jpg /home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_23_6818.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349871559","1349871523","1349871516","1349871531","1349871566","1349871527"],"photo_ids_order":["1349871516","1349871523","1349871527","1349871531","1349871559","1349871566"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1adf772fd351a2aa1015e58f0a9303b3.jpg","text":"TemporaryFile(/tmp/multipartBody7104597625417803912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713184818,"filename":"image_15042025_05_31_29_5695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a8fd638a05ea9c260576dd5a91b42ea8.jpg","text":"TemporaryFile(/tmp/multipartBody5112891458017473467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713184818,"filename":"image_15042025_05_31_59_5640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c4b0df669b9b34d35cb54a0ce404d0dc.jpg","text":"TemporaryFile(/tmp/multipartBody6272567184324658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713184818,"filename":"image_15042025_05_32_05_6717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a9760861fb4617e5b823962d7ef4c042.jpg","text":"TemporaryFile(/tmp/multipartBody1337601797584933363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713184818,"filename":"image_15042025_05_31_47_6681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c3fd0907486c8810fedd35962de08418.jpg","text":"TemporaryFile(/tmp/multipartBody5660020526078583254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713184818,"filename":"image_15042025_05_31_23_6818.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5132135a2865db0eda218d0c3c40ec9e.jpg","text":"TemporaryFile(/tmp/multipartBody2434738485124848670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713184818,"filename":"image_15042025_05_31_53_5607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871527","file1":"1349871523","file0":"1349871516","file4":"1349871559","file5":"1349871566","file3":"1349871531"},"map_files_photo_id_array":[{"photo_id":"1349871566","filename":"file5"},{"photo_id":"1349871527","filename":"file2"},{"photo_id":"1349871559","filename":"file4"},{"photo_id":"1349871523","filename":"file1"},{"photo_id":"1349871516","filename":"file0"},{"photo_id":"1349871531","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349871559":["hashtag1","hashtag2"]},{"1349871523":["hashtag1","hashtag2"]},{"1349871516":["hashtag1","hashtag2"]},{"1349871531":["hashtag1","hashtag2"]},{"1349871566":["hashtag1","hashtag2"]},{"1349871527":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349871559, 1349871523, 1349871516, 1349871531, 1349871566, 1349871527)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.77607583999634 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:32:42.458656 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_17_5876.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_11_5927.jpg', 2), ('/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_05_6128.jpg', 2), ('/home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_52_5785.jpg', 2), ('/home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_47_5806.jpg', 2), ('/home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_41_5740.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_17_5876.jpg', '/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_11_5927.jpg', '/home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_05_6128.jpg', '/home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_52_5785.jpg', '/home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_47_5806.jpg', '/home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_41_5740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_17_5876.jpg /home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_11_5927.jpg /home/nano/Desktop/images/15042025/05/31/image_15042025_05_31_05_6128.jpg /home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_52_5785.jpg /home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_47_5806.jpg /home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_41_5740.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349871619","1349871678","1349871601","1349871654","1349871642","1349871691"],"photo_ids_order":["1349871601","1349871619","1349871642","1349871654","1349871678","1349871691"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e700ca868691a63024810fc8361f8df4.jpg","text":"TemporaryFile(/tmp/multipartBody4175137617902572757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713224765,"filename":"image_15042025_05_31_11_5927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/48228595dbff0317d8ae9037b31c1354.jpg","text":"TemporaryFile(/tmp/multipartBody2870222237143459530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713224765,"filename":"image_15042025_05_30_47_5806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f2c03084bea3aca1058a617a26cf6e6b.jpg","text":"TemporaryFile(/tmp/multipartBody8039703087667215855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713224765,"filename":"image_15042025_05_31_17_5876.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/258efaa26e64a5a6fea81e06c8766f3b.jpg","text":"TemporaryFile(/tmp/multipartBody6354159623220065153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713224765,"filename":"image_15042025_05_30_52_5785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3aeef200f3073b7b5c6b08fe4329665e.jpg","text":"TemporaryFile(/tmp/multipartBody5701280207500164097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713224765,"filename":"image_15042025_05_31_05_6128.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4be7eb3510ba7d25b49e12d7989a5a3e.jpg","text":"TemporaryFile(/tmp/multipartBody2011322803996265871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713224765,"filename":"image_15042025_05_30_41_5740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871642","file1":"1349871619","file0":"1349871601","file4":"1349871678","file5":"1349871691","file3":"1349871654"},"map_files_photo_id_array":[{"photo_id":"1349871691","filename":"file5"},{"photo_id":"1349871642","filename":"file2"},{"photo_id":"1349871678","filename":"file4"},{"photo_id":"1349871619","filename":"file1"},{"photo_id":"1349871601","filename":"file0"},{"photo_id":"1349871654","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349871619":["hashtag1","hashtag2"]},{"1349871678":["hashtag1","hashtag2"]},{"1349871601":["hashtag1","hashtag2"]},{"1349871654":["hashtag1","hashtag2"]},{"1349871642":["hashtag1","hashtag2"]},{"1349871691":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349871619, 1349871678, 1349871601, 1349871654, 1349871642, 1349871691)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.003772020339966 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:33:22.604348 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/12/33/image_15042025_12_33_59_6125.jpg', 2), ('/home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_35_5768.jpg', 2), ('/home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_29_5964.jpg', 2), ('/home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_17_6863.jpg', 2), ('/home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_11_5787.jpg', 2), ('/home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_05_5855.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/12/33/image_15042025_12_33_59_6125.jpg', '/home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_35_5768.jpg', '/home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_29_5964.jpg', '/home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_17_6863.jpg', '/home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_11_5787.jpg', '/home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_05_5855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/12/33/image_15042025_12_33_59_6125.jpg /home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_35_5768.jpg /home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_29_5964.jpg /home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_17_6863.jpg /home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_11_5787.jpg /home/nano/Desktop/images/15042025/05/30/image_15042025_05_30_05_5855.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349871814","1349871897","1349871783","1349871936","1349871930","1349871849"],"photo_ids_order":["1349871783","1349871814","1349871849","1349871897","1349871930","1349871936"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/3f4d18a2acd7a96c8d84325d311882dc.jpg","text":"TemporaryFile(/tmp/multipartBody5196381204703947772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713264531,"filename":"image_15042025_05_30_35_5768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8cab597fb5975c446c5b9261c2bc9422.jpg","text":"TemporaryFile(/tmp/multipartBody4510086112050977330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713264531,"filename":"image_15042025_05_30_17_6863.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bd4dc676860938300f00613ca31b8272.jpg","text":"TemporaryFile(/tmp/multipartBody5708948389343826862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713264531,"filename":"image_15042025_12_33_59_6125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a1c3528273fc7bb175e2fd9428c5ebe6.jpg","text":"TemporaryFile(/tmp/multipartBody7889636032569411609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713264531,"filename":"image_15042025_05_30_05_5855.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/26c25063b7e6730766da61e22cf47a7a.jpg","text":"TemporaryFile(/tmp/multipartBody4576403988489672475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713264531,"filename":"image_15042025_05_30_11_5787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59b5aca2fa2c06cee501c040a206e05c.jpg","text":"TemporaryFile(/tmp/multipartBody6203072171421638176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713264531,"filename":"image_15042025_05_30_29_5964.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871849","file1":"1349871814","file0":"1349871783","file4":"1349871930","file5":"1349871936","file3":"1349871897"},"map_files_photo_id_array":[{"photo_id":"1349871936","filename":"file5"},{"photo_id":"1349871849","filename":"file2"},{"photo_id":"1349871930","filename":"file4"},{"photo_id":"1349871814","filename":"file1"},{"photo_id":"1349871783","filename":"file0"},{"photo_id":"1349871897","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349871814":["hashtag1","hashtag2"]},{"1349871897":["hashtag1","hashtag2"]},{"1349871783":["hashtag1","hashtag2"]},{"1349871936":["hashtag1","hashtag2"]},{"1349871930":["hashtag1","hashtag2"]},{"1349871849":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349871814, 1349871897, 1349871783, 1349871936, 1349871930, 1349871849)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 44.90479278564453 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:34:22.712708 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_59_5830.jpg', 2), ('/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_53_5852.jpg', 2), ('/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_47_6104.jpg', 2), ('/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_35_5838.jpg', 2), ('/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_29_6843.jpg', 2), ('/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_23_5776.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_59_5830.jpg', '/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_53_5852.jpg', '/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_47_6104.jpg', '/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_35_5838.jpg', '/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_29_6843.jpg', '/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_23_5776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_59_5830.jpg /home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_53_5852.jpg /home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_47_6104.jpg /home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_35_5838.jpg /home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_29_6843.jpg /home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_23_5776.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349871991","1349871986","1349872010","1349871977","1349872045","1349871982"],"photo_ids_order":["1349871977","1349871982","1349871986","1349871991","1349872010","1349872045"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/10e3a5025d227a31ce90e0bf8f3fd88a.jpg","text":"TemporaryFile(/tmp/multipartBody6987036323186446330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713324684,"filename":"image_15042025_05_29_35_5838.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8a8d2247eefbe6b888c4e75daeb6fcef.jpg","text":"TemporaryFile(/tmp/multipartBody2537176338854642812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713324684,"filename":"image_15042025_05_29_47_6104.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f86d4bc2da5d8a72f04e10f693cc0471.jpg","text":"TemporaryFile(/tmp/multipartBody1736650364907495630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713324684,"filename":"image_15042025_05_29_29_6843.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa9b941698da44746c6e05c55def6aec.jpg","text":"TemporaryFile(/tmp/multipartBody1780691817857005714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713324684,"filename":"image_15042025_05_29_59_5830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/992d02df80d4ebf3abe4c983372de117.jpg","text":"TemporaryFile(/tmp/multipartBody209527089166389005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713324684,"filename":"image_15042025_05_29_23_5776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b1a834a923cadd4e0c71ae706a556158.jpg","text":"TemporaryFile(/tmp/multipartBody8556518264894742200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713324684,"filename":"image_15042025_05_29_53_5852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349871986","file1":"1349871982","file0":"1349871977","file4":"1349872010","file5":"1349872045","file3":"1349871991"},"map_files_photo_id_array":[{"photo_id":"1349872045","filename":"file5"},{"photo_id":"1349871986","filename":"file2"},{"photo_id":"1349872010","filename":"file4"},{"photo_id":"1349871982","filename":"file1"},{"photo_id":"1349871977","filename":"file0"},{"photo_id":"1349871991","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349871991":["hashtag1","hashtag2"]},{"1349871986":["hashtag1","hashtag2"]},{"1349872010":["hashtag1","hashtag2"]},{"1349871977":["hashtag1","hashtag2"]},{"1349872045":["hashtag1","hashtag2"]},{"1349871982":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349871991, 1349871986, 1349872010, 1349871977, 1349872045, 1349871982)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 34.634052991867065 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:35:02.548624 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_17_5795.jpg', 2), ('/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_11_5866.jpg', 2), ('/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_05_5999.jpg', 2), ('/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_59_6006.jpg', 2), ('/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_53_5763.jpg', 2), ('/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_47_6810.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_17_5795.jpg', '/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_11_5866.jpg', '/home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_05_5999.jpg', '/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_59_6006.jpg', '/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_53_5763.jpg', '/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_47_6810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_17_5795.jpg /home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_11_5866.jpg /home/nano/Desktop/images/15042025/05/29/image_15042025_05_29_05_5999.jpg /home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_59_6006.jpg /home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_53_5763.jpg /home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_47_6810.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349872194","1349872173","1349872184","1349872211","1349872189","1349872156"],"photo_ids_order":["1349872156","1349872173","1349872184","1349872189","1349872194","1349872211"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e0ebc110f4006207a9be7fe03788bf92.jpg","text":"TemporaryFile(/tmp/multipartBody1957442946180488348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713364502,"filename":"image_15042025_05_28_53_5763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4175aa39ec34bc5817638b8c0454cd80.jpg","text":"TemporaryFile(/tmp/multipartBody3144027588471930910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713364502,"filename":"image_15042025_05_29_11_5866.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7e0c0e9658f233c01181f6ae1d91d23e.jpg","text":"TemporaryFile(/tmp/multipartBody6664453140007759902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713364502,"filename":"image_15042025_05_29_05_5999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/43af56f6412dc9f586023920b529a903.jpg","text":"TemporaryFile(/tmp/multipartBody1637596116950626586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713364502,"filename":"image_15042025_05_28_47_6810.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/54782777d182a833a598a58168fdc5b3.jpg","text":"TemporaryFile(/tmp/multipartBody7790538449194027968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713364502,"filename":"image_15042025_05_28_59_6006.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/16c852deb1ea2b6b4f89f61c4d9b76b7.jpg","text":"TemporaryFile(/tmp/multipartBody4036886079358016231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713364502,"filename":"image_15042025_05_29_17_5795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349872184","file1":"1349872173","file0":"1349872156","file4":"1349872194","file5":"1349872211","file3":"1349872189"},"map_files_photo_id_array":[{"photo_id":"1349872211","filename":"file5"},{"photo_id":"1349872184","filename":"file2"},{"photo_id":"1349872194","filename":"file4"},{"photo_id":"1349872173","filename":"file1"},{"photo_id":"1349872156","filename":"file0"},{"photo_id":"1349872189","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349872194":["hashtag1","hashtag2"]},{"1349872173":["hashtag1","hashtag2"]},{"1349872184":["hashtag1","hashtag2"]},{"1349872211":["hashtag1","hashtag2"]},{"1349872189":["hashtag1","hashtag2"]},{"1349872156":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349872194, 1349872173, 1349872184, 1349872211, 1349872189, 1349872156)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.741815090179443 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:35:41.880774 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_41_5896.jpg', 2), ('/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_35_5851.jpg', 2), ('/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_29_5882.jpg', 2), ('/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_23_5776.jpg', 2), ('/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_17_5676.jpg', 2), ('/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_11_6673.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_41_5896.jpg', '/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_35_5851.jpg', '/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_29_5882.jpg', '/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_23_5776.jpg', '/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_17_5676.jpg', '/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_11_6673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_41_5896.jpg /home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_35_5851.jpg /home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_29_5882.jpg /home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_23_5776.jpg /home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_17_5676.jpg /home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_11_6673.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349872318","1349872287","1349872334","1349872301","1349872264","1349872258"],"photo_ids_order":["1349872258","1349872264","1349872287","1349872301","1349872318","1349872334"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d692c7182935904e497da93870ca69ee.jpg","text":"TemporaryFile(/tmp/multipartBody7284639804656732062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713403795,"filename":"image_15042025_05_28_17_5676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ab474c12d9502028348d77935b1b59cf.jpg","text":"TemporaryFile(/tmp/multipartBody3122734952091073435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713403795,"filename":"image_15042025_05_28_29_5882.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9225df530e31d43e651f42a4c0708725.jpg","text":"TemporaryFile(/tmp/multipartBody8330929401964587202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713403795,"filename":"image_15042025_05_28_11_6673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2e8f2fed37b44af81a8b64d730c3c83.jpg","text":"TemporaryFile(/tmp/multipartBody1312761327596139629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713403795,"filename":"image_15042025_05_28_23_5776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/143aa69e999f76132cd990508cc6db65.jpg","text":"TemporaryFile(/tmp/multipartBody9184395081819920957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713403795,"filename":"image_15042025_05_28_35_5851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/f096cae6892ca6560f4229d9a136517c.jpg","text":"TemporaryFile(/tmp/multipartBody4940799334825672020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713403795,"filename":"image_15042025_05_28_41_5896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349872287","file1":"1349872264","file0":"1349872258","file4":"1349872318","file5":"1349872334","file3":"1349872301"},"map_files_photo_id_array":[{"photo_id":"1349872334","filename":"file5"},{"photo_id":"1349872287","filename":"file2"},{"photo_id":"1349872318","filename":"file4"},{"photo_id":"1349872264","filename":"file1"},{"photo_id":"1349872258","filename":"file0"},{"photo_id":"1349872301","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349872318":["hashtag1","hashtag2"]},{"1349872287":["hashtag1","hashtag2"]},{"1349872334":["hashtag1","hashtag2"]},{"1349872301":["hashtag1","hashtag2"]},{"1349872264":["hashtag1","hashtag2"]},{"1349872258":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349872318, 1349872287, 1349872334, 1349872301, 1349872264, 1349872258)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.599104642868042 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:36:21.986814 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_05_5633.jpg', 2), ('/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_59_6638.jpg', 2), ('/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_52_5701.jpg', 2), ('/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_47_5610.jpg', 2), ('/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_41_6665.jpg', 2), ('/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_35_5642.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_05_5633.jpg', '/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_59_6638.jpg', '/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_52_5701.jpg', '/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_47_5610.jpg', '/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_41_6665.jpg', '/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_35_5642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/28/image_15042025_05_28_05_5633.jpg /home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_59_6638.jpg /home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_52_5701.jpg /home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_47_5610.jpg /home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_41_6665.jpg /home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_35_5642.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349872450","1349872423","1349872515","1349872404","1349872484","1349872396"],"photo_ids_order":["1349872396","1349872404","1349872423","1349872450","1349872484","1349872515"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/aa9d1f3f7c9935106e5f37dc3bb4d751.jpg","text":"TemporaryFile(/tmp/multipartBody853681807848760737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713443770,"filename":"image_15042025_05_27_47_5610.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7bcfc876e29998b5a29d3607f3bbe651.jpg","text":"TemporaryFile(/tmp/multipartBody5849263818051388184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713443770,"filename":"image_15042025_05_27_52_5701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/030610c96e2a5d8bbad6ca62afff119a.jpg","text":"TemporaryFile(/tmp/multipartBody7084294560706407486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713443770,"filename":"image_15042025_05_27_35_5642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/101bbbf256fd6b0075cc1fcea8f77444.jpg","text":"TemporaryFile(/tmp/multipartBody2005734434514658697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713443770,"filename":"image_15042025_05_27_59_6638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7a6a3a80dbf18a2dd5b685132b10387c.jpg","text":"TemporaryFile(/tmp/multipartBody173340453504760524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713443770,"filename":"image_15042025_05_27_41_6665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2d5e94f3596d0614bee8e8c15f452b38.jpg","text":"TemporaryFile(/tmp/multipartBody2670461815605364505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713443770,"filename":"image_15042025_05_28_05_5633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349872423","file1":"1349872404","file0":"1349872396","file4":"1349872484","file5":"1349872515","file3":"1349872450"},"map_files_photo_id_array":[{"photo_id":"1349872515","filename":"file5"},{"photo_id":"1349872423","filename":"file2"},{"photo_id":"1349872484","filename":"file4"},{"photo_id":"1349872404","filename":"file1"},{"photo_id":"1349872396","filename":"file0"},{"photo_id":"1349872450","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349872450":["hashtag1","hashtag2"]},{"1349872423":["hashtag1","hashtag2"]},{"1349872515":["hashtag1","hashtag2"]},{"1349872404":["hashtag1","hashtag2"]},{"1349872484":["hashtag1","hashtag2"]},{"1349872396":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349872450, 1349872423, 1349872515, 1349872404, 1349872484, 1349872396)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.60232162475586 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:37:02.856797 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_29_5622.jpg', 2), ('/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_23_6648.jpg', 2), ('/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_17_5861.jpg', 2), ('/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_05_6638.jpg', 2), ('/home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_53_5629.jpg', 2), ('/home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_47_6717.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_29_5622.jpg', '/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_23_6648.jpg', '/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_17_5861.jpg', '/home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_05_6638.jpg', '/home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_53_5629.jpg', '/home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_47_6717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_29_5622.jpg /home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_23_6648.jpg /home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_17_5861.jpg /home/nano/Desktop/images/15042025/05/27/image_15042025_05_27_05_6638.jpg /home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_53_5629.jpg /home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_47_6717.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349872659","1349872635","1349872629","1349872652","1349872643","1349872648"],"photo_ids_order":["1349872629","1349872635","1349872643","1349872648","1349872652","1349872659"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7df817cff1e97546327748d43dd071db.jpg","text":"TemporaryFile(/tmp/multipartBody5782615562293519570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713484656,"filename":"image_15042025_05_26_47_6717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5ec8a708984e524bb2a6940307799d49.jpg","text":"TemporaryFile(/tmp/multipartBody554920151544508253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713484656,"filename":"image_15042025_05_27_23_6648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/fb9f04f7b9181372d78a9e646aaf770c.jpg","text":"TemporaryFile(/tmp/multipartBody3673155249697179642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713484656,"filename":"image_15042025_05_27_29_5622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/94e727f67242993a23c3ca8950aaae4e.jpg","text":"TemporaryFile(/tmp/multipartBody8674784832454835946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713484656,"filename":"image_15042025_05_26_53_5629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/5584d2a42ca1116599b489bc17568f41.jpg","text":"TemporaryFile(/tmp/multipartBody6560430580903132841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713484656,"filename":"image_15042025_05_27_17_5861.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/6a718a3ead729cbfcf8f3ebefdf1ce76.jpg","text":"TemporaryFile(/tmp/multipartBody2251178113147829505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713484656,"filename":"image_15042025_05_27_05_6638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349872643","file1":"1349872635","file0":"1349872629","file4":"1349872652","file5":"1349872659","file3":"1349872648"},"map_files_photo_id_array":[{"photo_id":"1349872659","filename":"file5"},{"photo_id":"1349872643","filename":"file2"},{"photo_id":"1349872652","filename":"file4"},{"photo_id":"1349872635","filename":"file1"},{"photo_id":"1349872629","filename":"file0"},{"photo_id":"1349872648","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349872659":["hashtag1","hashtag2"]},{"1349872635":["hashtag1","hashtag2"]},{"1349872629":["hashtag1","hashtag2"]},{"1349872652":["hashtag1","hashtag2"]},{"1349872643":["hashtag1","hashtag2"]},{"1349872648":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349872659, 1349872635, 1349872629, 1349872652, 1349872643, 1349872648)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.34455919265747 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:37:42.167235 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_40_5621.jpg', 2), ('/home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_35_5626.jpg', 2), ('/home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_29_6665.jpg', 2), ('/home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_23_5678.jpg', 2), ('/home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_17_5619.jpg', 2), ('/home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_11_6711.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_40_5621.jpg', '/home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_35_5626.jpg', '/home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_29_6665.jpg', '/home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_23_5678.jpg', '/home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_17_5619.jpg', '/home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_11_6711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_40_5621.jpg /home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_35_5626.jpg /home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_29_6665.jpg /home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_23_5678.jpg /home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_17_5619.jpg /home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_11_6711.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349872779","1349872827","1349872964","1349872699","1349872879","1349872738"],"photo_ids_order":["1349872699","1349872738","1349872779","1349872827","1349872879","1349872964"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/819bd474e854d2879ccb1c4bfb643691.jpg","text":"TemporaryFile(/tmp/multipartBody3752423764856124301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713523989,"filename":"image_15042025_05_26_29_6665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ee92a7068d8952e21ef5762af535c2fc.jpg","text":"TemporaryFile(/tmp/multipartBody2067182891227343401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713523989,"filename":"image_15042025_05_26_23_5678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/ca650b2c93ac7d4054963b83262e2145.jpg","text":"TemporaryFile(/tmp/multipartBody4020597417855096112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713523989,"filename":"image_15042025_05_26_11_6711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/933b8b7031c943b380ec7c025fc64ad8.jpg","text":"TemporaryFile(/tmp/multipartBody5727932517772316209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713523989,"filename":"image_15042025_05_26_40_5621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b556cd8c13910ef87362fc2603dee4d3.jpg","text":"TemporaryFile(/tmp/multipartBody2227410440254559693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713523989,"filename":"image_15042025_05_26_17_5619.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a827eb6d79baf01f28cd42694671c659.jpg","text":"TemporaryFile(/tmp/multipartBody3988932941490030595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713523989,"filename":"image_15042025_05_26_35_5626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349872779","file1":"1349872738","file0":"1349872699","file4":"1349872879","file5":"1349872964","file3":"1349872827"},"map_files_photo_id_array":[{"photo_id":"1349872964","filename":"file5"},{"photo_id":"1349872779","filename":"file2"},{"photo_id":"1349872879","filename":"file4"},{"photo_id":"1349872738","filename":"file1"},{"photo_id":"1349872699","filename":"file0"},{"photo_id":"1349872827","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349872779":["hashtag1","hashtag2"]},{"1349872827":["hashtag1","hashtag2"]},{"1349872964":["hashtag1","hashtag2"]},{"1349872699":["hashtag1","hashtag2"]},{"1349872879":["hashtag1","hashtag2"]},{"1349872738":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349872779, 1349872827, 1349872964, 1349872699, 1349872879, 1349872738)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 33.54273271560669 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:38:22.266248 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/12/38/image_15042025_12_38_59_6089.jpg', 2), ('/home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_05_5647.jpg', 2), ('/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_59_5620.jpg', 2), ('/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_53_6637.jpg', 2), ('/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_47_5655.jpg', 2), ('/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_41_5636.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/12/38/image_15042025_12_38_59_6089.jpg', '/home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_05_5647.jpg', '/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_59_5620.jpg', '/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_53_6637.jpg', '/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_47_5655.jpg', '/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_41_5636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/12/38/image_15042025_12_38_59_6089.jpg /home/nano/Desktop/images/15042025/05/26/image_15042025_05_26_05_5647.jpg /home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_59_5620.jpg /home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_53_6637.jpg /home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_47_5655.jpg /home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_41_5636.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349873583","1349873421","1349873771","1349873666","1349873378","1349873458"],"photo_ids_order":["1349873378","1349873421","1349873458","1349873583","1349873666","1349873771"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/1fec23a3bae1c343a602522e4986554f.jpg","text":"TemporaryFile(/tmp/multipartBody3200187740119734524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713564074,"filename":"image_15042025_05_25_53_6637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b491e92dc9edb84f167e1b42aa5823cb.jpg","text":"TemporaryFile(/tmp/multipartBody3938812940410704307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713564074,"filename":"image_15042025_05_26_05_5647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/bf5a16b16a0597a388c651919b3d394b.jpg","text":"TemporaryFile(/tmp/multipartBody5172487754316618176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713564074,"filename":"image_15042025_05_25_41_5636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e47f47e7301fbd9a4ad7087c79ea752e.jpg","text":"TemporaryFile(/tmp/multipartBody2162235141813444784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713564074,"filename":"image_15042025_05_25_47_5655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b424c9a22ab9ed40764102a96e00b509.jpg","text":"TemporaryFile(/tmp/multipartBody4111792287996256289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713564074,"filename":"image_15042025_12_38_59_6089.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/253ba07fc891b586165c4162e4903391.jpg","text":"TemporaryFile(/tmp/multipartBody7658155093637704537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713564074,"filename":"image_15042025_05_25_59_5620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349873458","file1":"1349873421","file0":"1349873378","file4":"1349873666","file5":"1349873771","file3":"1349873583"},"map_files_photo_id_array":[{"photo_id":"1349873771","filename":"file5"},{"photo_id":"1349873458","filename":"file2"},{"photo_id":"1349873666","filename":"file4"},{"photo_id":"1349873421","filename":"file1"},{"photo_id":"1349873378","filename":"file0"},{"photo_id":"1349873583","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349873583":["hashtag1","hashtag2"]},{"1349873421":["hashtag1","hashtag2"]},{"1349873771":["hashtag1","hashtag2"]},{"1349873666":["hashtag1","hashtag2"]},{"1349873378":["hashtag1","hashtag2"]},{"1349873458":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349873583, 1349873421, 1349873771, 1349873666, 1349873378, 1349873458)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 31.01017951965332 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:39:03.367384 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_35_6823.jpg', 2), ('/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_29_5865.jpg', 2), ('/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_23_5888.jpg', 2), ('/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_17_5844.jpg', 2), ('/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_11_5841.jpg', 2), ('/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_05_5879.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_35_6823.jpg', '/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_29_5865.jpg', '/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_23_5888.jpg', '/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_17_5844.jpg', '/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_11_5841.jpg', '/home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_05_5879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_35_6823.jpg /home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_29_5865.jpg /home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_23_5888.jpg /home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_17_5844.jpg /home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_11_5841.jpg /home/nano/Desktop/images/15042025/05/25/image_15042025_05_25_05_5879.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349874153","1349874108","1349874157","1349874115","1349874168","1349874162"],"photo_ids_order":["1349874108","1349874115","1349874153","1349874157","1349874162","1349874168"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/979495b1f01dfbd72b145c5c9da67904.jpg","text":"TemporaryFile(/tmp/multipartBody3135342014980550044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713605321,"filename":"image_15042025_05_25_23_5888.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/e2ac8fba7ffc150fe7cff89cd27d1302.jpg","text":"TemporaryFile(/tmp/multipartBody3999365176851201111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713605321,"filename":"image_15042025_05_25_35_6823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24f03cd27d9f484f7f26585860f055d3.jpg","text":"TemporaryFile(/tmp/multipartBody4024445121231620210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713605321,"filename":"image_15042025_05_25_17_5844.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c6a7d025112470d93b7070351f39e1ee.jpg","text":"TemporaryFile(/tmp/multipartBody6806294724139042574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713605321,"filename":"image_15042025_05_25_29_5865.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7c7ecfdebd3ac39289f1362e86eb1584.jpg","text":"TemporaryFile(/tmp/multipartBody4873060654066892354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713605321,"filename":"image_15042025_05_25_05_5879.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2f7d4fda48f9ccdf245f8349367e3719.jpg","text":"TemporaryFile(/tmp/multipartBody8331819520525821832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713605321,"filename":"image_15042025_05_25_11_5841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349874153","file1":"1349874115","file0":"1349874108","file4":"1349874162","file5":"1349874168","file3":"1349874157"},"map_files_photo_id_array":[{"photo_id":"1349874168","filename":"file5"},{"photo_id":"1349874153","filename":"file2"},{"photo_id":"1349874162","filename":"file4"},{"photo_id":"1349874115","filename":"file1"},{"photo_id":"1349874108","filename":"file0"},{"photo_id":"1349874157","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349874153":["hashtag1","hashtag2"]},{"1349874108":["hashtag1","hashtag2"]},{"1349874157":["hashtag1","hashtag2"]},{"1349874115":["hashtag1","hashtag2"]},{"1349874168":["hashtag1","hashtag2"]},{"1349874162":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349874153, 1349874108, 1349874157, 1349874115, 1349874168, 1349874162)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 30.981407642364502 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:39:42.385578 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_59_5898.jpg', 2), ('/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_53_5911.jpg', 2), ('/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_47_6910.jpg', 2), ('/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_40_5867.jpg', 2), ('/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_35_5975.jpg', 2), ('/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_29_5876.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_59_5898.jpg', '/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_53_5911.jpg', '/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_47_6910.jpg', '/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_40_5867.jpg', '/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_35_5975.jpg', '/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_29_5876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_59_5898.jpg /home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_53_5911.jpg /home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_47_6910.jpg /home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_40_5867.jpg /home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_35_5975.jpg /home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_29_5876.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349874345","1349874323","1349874311","1349874190","1349874331","1349874279"],"photo_ids_order":["1349874190","1349874279","1349874311","1349874323","1349874331","1349874345"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/59e436f568294f9fb4968bf7d5ec36e7.jpg","text":"TemporaryFile(/tmp/multipartBody3122312200640821961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713644444,"filename":"image_15042025_05_24_29_5876.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/9d2a205f29046352041180e95b4ac829.jpg","text":"TemporaryFile(/tmp/multipartBody5412140741343167170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713644444,"filename":"image_15042025_05_24_40_5867.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/d1471894517b2d7235d6d19e83dbac09.jpg","text":"TemporaryFile(/tmp/multipartBody2759993474464099035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713644444,"filename":"image_15042025_05_24_47_6910.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/54ed617a6240eb4f96210378e2c431c0.jpg","text":"TemporaryFile(/tmp/multipartBody5976574130500638450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713644444,"filename":"image_15042025_05_24_59_5898.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4012efc50603ea7b827f3768884b818b.jpg","text":"TemporaryFile(/tmp/multipartBody1555410562912484083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713644444,"filename":"image_15042025_05_24_35_5975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/7b171ccc231ece1c8dfd28309097e6fc.jpg","text":"TemporaryFile(/tmp/multipartBody699702033902641683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713644444,"filename":"image_15042025_05_24_53_5911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349874311","file1":"1349874279","file0":"1349874190","file4":"1349874331","file5":"1349874345","file3":"1349874323"},"map_files_photo_id_array":[{"photo_id":"1349874345","filename":"file5"},{"photo_id":"1349874311","filename":"file2"},{"photo_id":"1349874331","filename":"file4"},{"photo_id":"1349874279","filename":"file1"},{"photo_id":"1349874190","filename":"file0"},{"photo_id":"1349874323","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349874345":["hashtag1","hashtag2"]},{"1349874323":["hashtag1","hashtag2"]},{"1349874311":["hashtag1","hashtag2"]},{"1349874190":["hashtag1","hashtag2"]},{"1349874331":["hashtag1","hashtag2"]},{"1349874279":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349874345, 1349874323, 1349874311, 1349874190, 1349874331, 1349874279)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 35.71457862854004 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:40:22.504845 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_23_5877.jpg', 2), ('/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_17_5980.jpg', 2), ('/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_11_5986.jpg', 2), ('/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_05_5880.jpg', 2), ('/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_59_5920.jpg', 2), ('/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_53_5972.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_23_5877.jpg', '/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_17_5980.jpg', '/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_11_5986.jpg', '/home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_05_5880.jpg', '/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_59_5920.jpg', '/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_53_5972.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_23_5877.jpg /home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_17_5980.jpg /home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_11_5986.jpg /home/nano/Desktop/images/15042025/05/24/image_15042025_05_24_05_5880.jpg /home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_59_5920.jpg /home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_53_5972.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349874362","1349874356","1349874373","1349874379","1349874367","1349874387"],"photo_ids_order":["1349874356","1349874362","1349874367","1349874373","1349874379","1349874387"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/64a32bc7480eef0ba7a669077f3f0299.jpg","text":"TemporaryFile(/tmp/multipartBody542248571718168752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713684521,"filename":"image_15042025_05_24_17_5980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/0d5d14f2793246498c06ade2c1412d3e.jpg","text":"TemporaryFile(/tmp/multipartBody3062184163078471239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713684521,"filename":"image_15042025_05_24_23_5877.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/8cabbd9ebd578fe0614ed9e7c3f980ae.jpg","text":"TemporaryFile(/tmp/multipartBody5018333357889702740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713684521,"filename":"image_15042025_05_24_05_5880.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/b2abe25f18c14a16fe9a8b79b84d2296.jpg","text":"TemporaryFile(/tmp/multipartBody3327595542464468235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713684521,"filename":"image_15042025_05_23_59_5920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2c315e353ef44cae8cd2ff1d3ad3fa6b.jpg","text":"TemporaryFile(/tmp/multipartBody408152372438979800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713684521,"filename":"image_15042025_05_24_11_5986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/90e477ed50f060b1df4f73716dfc1fa2.jpg","text":"TemporaryFile(/tmp/multipartBody2968365015846622807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713684521,"filename":"image_15042025_05_23_53_5972.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349874367","file1":"1349874362","file0":"1349874356","file4":"1349874379","file5":"1349874387","file3":"1349874373"},"map_files_photo_id_array":[{"photo_id":"1349874387","filename":"file5"},{"photo_id":"1349874367","filename":"file2"},{"photo_id":"1349874379","filename":"file4"},{"photo_id":"1349874362","filename":"file1"},{"photo_id":"1349874356","filename":"file0"},{"photo_id":"1349874373","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349874362":["hashtag1","hashtag2"]},{"1349874356":["hashtag1","hashtag2"]},{"1349874373":["hashtag1","hashtag2"]},{"1349874379":["hashtag1","hashtag2"]},{"1349874367":["hashtag1","hashtag2"]},{"1349874387":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349874362, 1349874356, 1349874373, 1349874379, 1349874367, 1349874387)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.32385039329529 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:41:03.375651 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_47_5862.jpg', 2), ('/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_41_5882.jpg', 2), ('/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_35_6770.jpg', 2), ('/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_29_5715.jpg', 2), ('/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_23_5638.jpg', 2), ('/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_17_6734.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_47_5862.jpg', '/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_41_5882.jpg', '/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_35_6770.jpg', '/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_29_5715.jpg', '/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_23_5638.jpg', '/home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_17_6734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_47_5862.jpg /home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_41_5882.jpg /home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_35_6770.jpg /home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_29_5715.jpg /home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_23_5638.jpg /home/nano/Desktop/images/15042025/05/23/image_15042025_05_23_17_6734.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349874590","1349874584","1349874574","1349874550","1349874421","1349874456"],"photo_ids_order":["1349874421","1349874456","1349874550","1349874574","1349874584","1349874590"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/4728f66d4c4aa6dc264e968840f76a5a.jpg","text":"TemporaryFile(/tmp/multipartBody3649302770343511718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713725299,"filename":"image_15042025_05_23_17_6734.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/181123019c54b552072be4c2710fad5c.jpg","text":"TemporaryFile(/tmp/multipartBody7602148760475919383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713725299,"filename":"image_15042025_05_23_23_5638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/c65b3b108bf5c3990a1c074aef638192.jpg","text":"TemporaryFile(/tmp/multipartBody1388995882683635554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713725299,"filename":"image_15042025_05_23_29_5715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a435daa0d45f457e99d03ee383f3f6a8.jpg","text":"TemporaryFile(/tmp/multipartBody6687014917847037867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713725299,"filename":"image_15042025_05_23_35_6770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/cb8d37ba738c0604f5a16b525375e5de.jpg","text":"TemporaryFile(/tmp/multipartBody1679934772413418355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713725299,"filename":"image_15042025_05_23_47_5862.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/968a5c781705a241a61cdf43ffdb15d8.jpg","text":"TemporaryFile(/tmp/multipartBody7410617263296193619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713725299,"filename":"image_15042025_05_23_41_5882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349874550","file1":"1349874456","file0":"1349874421","file4":"1349874584","file5":"1349874590","file3":"1349874574"},"map_files_photo_id_array":[{"photo_id":"1349874590","filename":"file5"},{"photo_id":"1349874550","filename":"file2"},{"photo_id":"1349874584","filename":"file4"},{"photo_id":"1349874456","filename":"file1"},{"photo_id":"1349874421","filename":"file0"},{"photo_id":"1349874574","filename":"file3"}],"portfolio_id":22024896,"hashtag_by_photo_ids":[{"1349874590":["hashtag1","hashtag2"]},{"1349874584":["hashtag1","hashtag2"]},{"1349874574":["hashtag1","hashtag2"]},{"1349874550":["hashtag1","hashtag2"]},{"1349874421":["hashtag1","hashtag2"]},{"1349874456":["hashtag1","hashtag2"]}],"comms":"Portfolio 22024896 used, photo_id : ArrayBuffer(1349874590, 1349874584, 1349874574, 1349874550, 1349874421, 1349874456)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 32.123263120651245 secondes --- [Errno 13] Permission denied: '/home/pi' Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-04-15 12:41:42.613916 port_id : 22024896 datou_current_id : 2720889 in upload_from_sqlite, uploading in 22024896 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250415 ORDER BY id_local DESC LIMIT 6; error upload [('/home/nano/Desktop/images/15042025/05/22/image_15042025_05_22_59_5646.jpg', 2), ('/home/nano/Desktop/images/15042025/05/22/image_15042025_05_22_53_6655.jpg', 2), ('/home/nano/Desktop/images/15042025/05/22/image_15042025_05_22_47_5610.jpg', 2), ('/home/nano/Desktop/images/15042025/05/22/image_15042025_05_22_41_5609.jpg', 2), ('/home/nano/Desktop/images/15042025/05/22/image_15042025_05_22_35_6617.jpg', 2), ('/home/nano/Desktop/images/15042025/05/22/image_15042025_05_22_23_6666.jpg', 2)] in upload media Upload medias : ['/home/nano/Desktop/images/15042025/05/22/image_15042025_05_22_59_5646.jpg', '/home/nano/Desktop/images/15042025/05/22/image_15042025_05_22_53_6655.jpg', '/home/nano/Desktop/images/15042025/05/22/image_15042025_05_22_47_5610.jpg', '/home/nano/Desktop/images/15042025/05/22/image_15042025_05_22_41_5609.jpg', '/home/nano/Desktop/images/15042025/05/22/image_15042025_05_22_35_6617.jpg', '/home/nano/Desktop/images/15042025/05/22/image_15042025_05_22_23_6666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2720889&datou=0 /home/nano/Desktop/images/15042025/05/22/image_15042025_05_22_59_5646.jpg /home/nano/Desktop/images/15042025/05/22/image_15042025_05_22_53_6655.jpg /home/nano/Desktop/images/15042025/05/22/image_15042025_05_22_47_5610.jpg /home/nano/Desktop/images/15042025/05/22/image_15042025_05_22_41_5609.jpg /home/nano/Desktop/images/15042025/05/22/image_15042025_05_22_35_6617.jpg /home/nano/Desktop/images/15042025/05/22/image_15042025_05_22_23_6666.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1349874698","1349874652","1349874643","1349874706","1349874690","1349874666"],"photo_ids_order":["1349874643","1349874652","1349874666","1349874690","1349874698","1349874706"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/064c0a65bd9051c2aa5c89c7ffd7086e.jpg","text":"TemporaryFile(/tmp/multipartBody1296210043879899776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713764407,"filename":"image_15042025_05_22_35_6617.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/a142435c038cc07a15dfea8ce11d5cc3.jpg","text":"TemporaryFile(/tmp/multipartBody844147012614060164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713764407,"filename":"image_15042025_05_22_53_6655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/86afdecb09c2fed21658347dc49fbfea.jpg","text":"TemporaryFile(/tmp/multipartBody3258078199166031304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713764407,"filename":"image_15042025_05_22_59_5646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/24524f9379f3d3c76a50690bb23f8cc8.jpg","text":"TemporaryFile(/tmp/multipartBody3862234498705670660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713764407,"filename":"image_15042025_05_22_23_6666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/69b18f667c947fcbe845af8c9683ea14.jpg","text":"TemporaryFile(/tmp/multipartBody1050944271913929088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713764407,"filename":"image_15042025_05_22_41_5609.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/15/2a6eb895f29e3d855720be29b1f2d3ac.jpg","text":"TemporaryFile(/tmp/multipartBody5629352503808591636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744713764407,"filename":"image_15042025_05_22_47_5610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1349874666","file1":"1349874652","file0":"1349874643","file4":"1349874698","file5":"1349874706","file3":"1349874690"},"map_files_photo_id_array":[{"photo_id":"1349874706","filename":"file5"},{"photo_id":"1349874666","filename":"file2"},{"photo_id"